Message234966
>> 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). |
|
Date |
User |
Action |
Args |
2015-01-29 12:54:49 | vstinner | set | recipients:
+ vstinner, serhiy.storchaka, negval |
2015-01-29 12:54:49 | vstinner | set | messageid: <1422536089.24.0.632530725141.issue23346@psf.upfronthosting.co.za> |
2015-01-29 12:54:49 | vstinner | link | issue23346 messages |
2015-01-29 12:54:49 | vstinner | create | |
|