[issue3584] Exception for test_urllib2_localnet

Dennis Lichtenthäler <report@bugs.python.org> at psf.upfronthosting.co.za Dennis Lichtenthäler <report@bugs.python.org> at psf.upfronthosting.co.za
Mon Apr 20 09:52:55 CEST 2009


Dennis Lichtenthäler <dennis.lichtenthaeler at episode-iv.de> added the comment:

I get the same behavior on an up-to-date Gentoo machine with Python
2.5.4. It seems, test_urllib2_localnet tries to bind to port 8080. If
something else is listening there, I get this error.
I changed the test to point to a different port and things seem to work.

Perhaps the test should check whether the port is available before
binding to it or even use a random port... 8080 is all too common!

----------
nosy: +episodeiv

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


More information about the Python-bugs-list mailing list