[issue8594] Add a "source_address" option to ftplib
Giampaolo Rodola'
report at bugs.python.org
Sun May 2 23:36:17 CEST 2010
Giampaolo Rodola' <g.rodola at gmail.com> added the comment:
> You should not use find_unused_port()
I agree find_unused_port() is the wrong approach in general, but in this case I think there's nothing we can do about it.
> you never set self.source_address.
You're right, I should set it in connect() method.
I'm going to attach a new patch including documentation.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8594>
_______________________________________
More information about the Python-bugs-list
mailing list