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 rosslagerwall
Recipients gregory.p.smith, jyasskin, pitrou, rosslagerwall
Date 2011-01-04.20:06:15
SpamBayes Score 7.092305e-08
Marked as misclassified No
Message-id <1294171577.63.0.505249919284.issue8052@psf.upfronthosting.co.za>
In-reply-to
Content
Does this mean that it's better to call the close() syscall 1000 or 1000 0000 times rather than listing the open fds & closing say a handful?

On Linux, the listdir function results in an open() syscall, 2 or so getdents() calls and a close() call - could this not be done inbetween the fork & exec, even if the actual python function isn't called directly?
History
Date User Action Args
2011-01-04 20:06:17rosslagerwallsetrecipients: + rosslagerwall, gregory.p.smith, pitrou, jyasskin
2011-01-04 20:06:17rosslagerwallsetmessageid: <1294171577.63.0.505249919284.issue8052@psf.upfronthosting.co.za>
2011-01-04 20:06:15rosslagerwalllinkissue8052 messages
2011-01-04 20:06:15rosslagerwallcreate