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 neirbowj
Recipients koobs, neirbowj, neologix, pitrou
Date 2013-12-04.15:25:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1386170712.25.0.820876390784.issue19875@psf.upfronthosting.co.za>
In-reply-to
Content
For reference:

CPython code comments showing that this may be an anticipated problem:

http://hg.python.org/cpython/file/0830670a9d9d/Lib/test/support/__init__.py#l562

An example of another project that seems to have tackled this problem in the way neologix suggests:

http://openvswitch.org/pipermail/dev/2013-April/026430.html

I am inclined to frame this issue as a choice between LBYL (try to predict, subject to the race, whether a port will be available) and EAFP (blindly try a few random high ports before inferring failure).
History
Date User Action Args
2013-12-04 15:25:12neirbowjsetrecipients: + neirbowj, pitrou, neologix, koobs
2013-12-04 15:25:12neirbowjsetmessageid: <1386170712.25.0.820876390784.issue19875@psf.upfronthosting.co.za>
2013-12-04 15:25:12neirbowjlinkissue19875 messages
2013-12-04 15:25:11neirbowjcreate