[issue11959] smtpd cannot be used without affecting global state

Vinay Sajip report at bugs.python.org
Wed May 16 11:25:22 CEST 2012


Vinay Sajip <vinay_sajip at yahoo.co.uk> added the comment:

>
> Well, I would argue that asyncore's design is thoroughly broken, and

> passing a socket map is a poor kludge to avoid global state; in a
> sophisticated event loop, the socket map wouldn't be the only piece of
> state to pass around.
>

I don't disagree with you, but since it's there in the stdlib, there's no reason not to make incremental improvements involving small changes.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11959>
_______________________________________


More information about the Python-bugs-list mailing list