[Python-Dev] Stdlib Logging questions (PEP 337 SoC)
fredrik at pythonware.com
Tue Jun 6 16:41:14 CEST 2006
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
More information about the Python-Dev