[issue8739] Update to smtpd.py to RFC 5321

Giampaolo Rodola' report at bugs.python.org
Sun Aug 15 17:19:26 CEST 2010


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

Patch no longer applies cleanly because smtpd.py changed in the meantime. A further comment:

-    def __init__(self, server, conn, addr):
+    def __init__(self, server, conn, addr, size = 0):
-    def __init__(self, localaddr, remoteaddr):
+    def __init__(self, localaddr, remoteaddr, size = 0):

This change breaks backward compatibility. I think it would be better to provide this as a SMTPChannel.size_limit class attribute.

----------

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


More information about the Python-bugs-list mailing list