Message104806
> 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. |
|
Date |
User |
Action |
Args |
2010-05-02 21:38:26 | giampaolo.rodola | set | recipients:
+ giampaolo.rodola, paul.moore, vinay.sajip, exarkun, pitrou, tim.golden, r.david.murray, brian.curtin |
2010-05-02 21:38:25 | giampaolo.rodola | set | messageid: <1272836305.36.0.770057674505.issue8576@psf.upfronthosting.co.za> |
2010-05-02 21:38:20 | giampaolo.rodola | link | issue8576 messages |
2010-05-02 21:38:20 | giampaolo.rodola | create | |
|