[issue11959] smtpd cannot be used without affecting global state

Giampaolo Rodola' report at bugs.python.org
Sat Apr 30 03:03:58 CEST 2011


Giampaolo Rodola' <g.rodola at gmail.com> added the comment:

The fact that you need to keep two separate maps makes me think that the approach you have in mind might be wrong, as in - that's something you usually don't want to do -. The fact that asyncore uses a global socket map is surely unfortunate, but it's something you rarely want to deal with, therefore changing the __init__ notation of those classes is debatable at least.
What are you trying to achieve exactly?

----------

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


More information about the Python-bugs-list mailing list