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 pitrou
Recipients brian.curtin, exarkun, giampaolo.rodola, paul.moore, pitrou, r.david.murray, tim.golden, vinay.sajip
Date 2010-05-02.21:42:13
SpamBayes Score 0.004759095
Marked as misclassified No
Message-id <1272836535.5.0.0237209784633.issue8576@psf.upfronthosting.co.za>
In-reply-to
Content
> See, for example, the test for "source_address" parameter of
> socket.create_connection() function.

Instead of testing the port, you could test the host. For example
by using two different loopback addresses (127.0.0.1 and 127.0.0.2?). Would it work on every platform?
History
Date User Action Args
2010-05-02 21:42:15pitrousetrecipients: + pitrou, paul.moore, vinay.sajip, exarkun, giampaolo.rodola, tim.golden, r.david.murray, brian.curtin
2010-05-02 21:42:15pitrousetmessageid: <1272836535.5.0.0237209784633.issue8576@psf.upfronthosting.co.za>
2010-05-02 21:42:13pitroulinkissue8576 messages
2010-05-02 21:42:13pitroucreate