Paulo Scardine <pa...@scardine.com.br> 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 <rep...@bugs.python.org>
<http://bugs.python.org/issue11281>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to