Jean-Paul Calderone <exar...@twistedmatrix.com> added the comment: > I'm not sure if I agree that find_unused_port() should be removed though; it > does serve a purpose in very rare corner cases.
It can serve a purpose in any number of cases. My point is that it's *always* unreliable, though. 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8576> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com