Message163895
Nevermind, I'm an idiot. fdopendir doesn't support dir_fd as a separate path, so listdir can't support it either.
There's an unwritten property of the os module on a POSIX system: all the functions are essentially-atomic. This is useful and should not be broken lightly.
I'll make a patch clarifying the behavior of listdir. |
|
Date |
User |
Action |
Args |
2012-06-25 05:20:30 | larry | set | recipients:
+ larry, georg.brandl, ncoghlan, Arfrever |
2012-06-25 05:20:30 | larry | set | messageid: <1340601630.79.0.0228521103317.issue15176@psf.upfronthosting.co.za> |
2012-06-25 05:20:30 | larry | link | issue15176 messages |
2012-06-25 05:20:29 | larry | create | |
|