Author rosslagerwall
Recipients gregory.p.smith, jyasskin, pitrou, rosslagerwall
Date 2011-01-04.20:06:15
SpamBayes Score 7.09231e-08
Marked as misclassified No
Message-id <>
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?
Date User Action Args
2011-01-04 20:06:17rosslagerwallsetrecipients: + rosslagerwall, gregory.p.smith, pitrou, jyasskin
2011-01-04 20:06:17rosslagerwallsetmessageid: <>
2011-01-04 20:06:15rosslagerwalllinkissue8052 messages
2011-01-04 20:06:15rosslagerwallcreate