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

Paul Moore report at bugs.python.org
Sat May 1 12:27:00 CEST 2010


Paul Moore <p.f.moore at gmail.com> added the comment:

Here's a patch for test_logging. It needed a minor tweak to logging.config - but I can't see anywhere that this affects the documentation, so I didn't do a doc patch. I hope that's OK.

I'll have a look at test_socket but that looks a bit too deep for me. And test_httplib seems to be testing that if you supply a specific port, the connection socket actually connects on that port, so I can't really see any way of avoiding needing a specific unused port there :-(

----------
Added file: http://bugs.python.org/file17161/test_logging.patch

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


More information about the Python-bugs-list mailing list