[issue11959] smtpd cannot be used without affecting global state

Vinay Sajip report at bugs.python.org
Tue May 15 18:25:31 CEST 2012


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

> So if we add a map argument to that and only pass it to socket if it
> is non-None, wouldn't that maintain backward compatibility with
> current asyncore behavior?

Sorry I was being a bit dense ... it's been a while since I looked at this. I think you are right that the base create_socket could be changed in this way. I'll work up a patch in my sandbox branch (for easier Rietveld integration).

----------

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


More information about the Python-bugs-list mailing list