[issue8576] test_support.find_unused_port can cause socket conflicts on Windows

Giampaolo Rodola' report at bugs.python.org
Tue May 4 00:02:40 CEST 2010


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

> Any time you have any API that you want to test that requires a 
> pre-allocated port number, you're going to have intermittent failures.  
> Such APIs are broken and should be fixed where possible and avoided 
> otherwise.

You mean that socket.create_connection(), httplib (issue 3972) and ftplib should or should have used a different API to implement their "source_address" option?

----------

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


More information about the Python-bugs-list mailing list