This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author giampaolo.rodola
Recipients brian.curtin, exarkun, giampaolo.rodola, paul.moore, pitrou, r.david.murray, tim.golden, vinay.sajip
Date 2010-05-02.21:38:20
SpamBayes Score 5.6608897e-06
Marked as misclassified No
Message-id <1272836305.36.0.770057674505.issue8576@psf.upfronthosting.co.za>
In-reply-to
Content
> 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.
History
Date User Action Args
2010-05-02 21:38:26giampaolo.rodolasetrecipients: + giampaolo.rodola, paul.moore, vinay.sajip, exarkun, pitrou, tim.golden, r.david.murray, brian.curtin
2010-05-02 21:38:25giampaolo.rodolasetmessageid: <1272836305.36.0.770057674505.issue8576@psf.upfronthosting.co.za>
2010-05-02 21:38:20giampaolo.rodolalinkissue8576 messages
2010-05-02 21:38:20giampaolo.rodolacreate