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 eric.araujo, mrts, pitrou, rosslagerwall, tarek, teamnoir
Date 2011-01-05.14:27:03
SpamBayes Score 1.8187444e-09
Marked as misclassified No
Message-id <1294237629.97.0.872138564575.issue4489@psf.upfronthosting.co.za>
In-reply-to
Content
Here is a draft patch.

It uses the *at functions and fdlistdir consequently it only makes it safe if those functions are available. It works using a recursive implementation and an open file descriptor pointing to a directory, instead of maintaining state by changing the current directory. If the *at functions are unavailable, it falls back to the unsafe implementation.

It requires the patches from issue4761 and issue10755 to work.
History
Date User Action Args
2011-01-05 14:27:10rosslagerwallsetrecipients: + rosslagerwall, pitrou, tarek, eric.araujo, mrts, teamnoir
2011-01-05 14:27:09rosslagerwallsetmessageid: <1294237629.97.0.872138564575.issue4489@psf.upfronthosting.co.za>
2011-01-05 14:27:03rosslagerwalllinkissue4489 messages
2011-01-05 14:27:03rosslagerwallcreate