Paulo Scardine <[email protected]> added the comment:
> There's no need to store the source address as an instance attribute.
> Just pass it as-is to socket.create_connection() in __init__ and
> connect methods and then get rid of it.
Ok, what if user initialize with something like
smtplib.SMTP(source_address=('200.165.12.1', 25)) and calls connect without
source_address?
----------
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue11281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com