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 amaury.forgeotdarc, pitrou, zhigang
Date 2009-07-24.08:28:17
SpamBayes Score 0.000100825
Marked as misclassified No
Message-id <1248424099.53.0.548156213679.issue6559@psf.upfronthosting.co.za>
In-reply-to
Content
The reason os.closerange() is used is that it can be slow to call
os.close() on lots of fds (I suppose this depends on the OS). See
http://code.python.org/hg/trunk/rev/43caff85ec85

Therefore, the patch should be smart enough to continue using
os.closerange() on ranges of contiguous FDs to be closed.
History
Date User Action Args
2009-07-24 08:28:19pitrousetrecipients: + pitrou, amaury.forgeotdarc, zhigang
2009-07-24 08:28:19pitrousetmessageid: <1248424099.53.0.548156213679.issue6559@psf.upfronthosting.co.za>
2009-07-24 08:28:18pitroulinkissue6559 messages
2009-07-24 08:28:17pitroucreate