[issue19679] smtpd.py (SMTPChannel): get rid of "conn" attribute

Leslie P. Polzer report at bugs.python.org
Thu Nov 21 13:15:45 CET 2013


Leslie P. Polzer added the comment:

The contents of "conn" are already stored by asyncore's "socket" attribute, so there doesn't seem to be a need to keep it around. We should deprecate its usage and refer the user to the "socket" attribute.

Furthermore I suggest renaming the "conn" argument to "socket" to make its semantics clearer.

----------
title: smtpd.py: implement ESMTP status messages -> smtpd.py (SMTPChannel): get rid of "conn" attribute

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


More information about the Python-bugs-list mailing list