[Python-Dev] Stdlib Logging questions (PEP 337 SoC) (original) (raw)
Fredrik Lundh fredrik at pythonware.com
Tue Jun 6 16:41:14 CEST 2006
- Previous message: [Python-Dev] Stdlib Logging questions (PEP 337 SoC)
- Next message: [Python-Dev] Stdlib Logging questions (PEP 337 SoC)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jim Jewett wrote:
The existing logging that she is replacing is done through methods of the dispatcher class. The dispatcher class is only a portion of the whole module.
the dispatcher class is never used on its own; it's a base class for user-defined communication classes.
asyncore users don't think in terms of instances of a single dispatch class; they think in terms of their own communication classes, which inherit from asyncore.dispatch or some subclass thereof.
using a single handler name for all subclasses doesn't strike me as especially useful.
- Previous message: [Python-Dev] Stdlib Logging questions (PEP 337 SoC)
- Next message: [Python-Dev] Stdlib Logging questions (PEP 337 SoC)
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]