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 vstinner
Recipients negval, serhiy.storchaka, vstinner
Date 2015-01-29.12:54:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1422536089.24.0.632530725141.issue23346@psf.upfronthosting.co.za>
In-reply-to
Content
>> Does os.listdir(os.open('/tmp/test', os.O_RDONLY)) work?

> No, it throws 22.

Oh, too bad. Maybe we can detect this at Python compilation. If not, rmtree() should detect the failure and switch back to the unsafe implementation (which uses paths, not file descriptors).
History
Date User Action Args
2015-01-29 12:54:49vstinnersetrecipients: + vstinner, serhiy.storchaka, negval
2015-01-29 12:54:49vstinnersetmessageid: <1422536089.24.0.632530725141.issue23346@psf.upfronthosting.co.za>
2015-01-29 12:54:49vstinnerlinkissue23346 messages
2015-01-29 12:54:49vstinnercreate