Giampaolo Rodola' <[email protected]> added the comment:

> find_unused_port is the wrong approach altogether.  Uses of it should 
> be replaced by bind_port and then find_unused_port should be removed

I agree find_unused_port() is the wrong approach in general, but there are 
certain cases where this is needed. 
See, for example, the test for "source_address" parameter of 
socket.create_connection() function.

----------
nosy: +giampaolo.rodola

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue8576>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to