Message167417
Why do you think the behavior is broken? It looks right to me - it's not possible to get file information for a file that is scheduled for deletion.
ISTM that rather os.path.exists has non-intuitive behavior; it shouldn't infer from the PermissionError that the file does not exist, but that it is not able to tell.
However, this is not a bug, but documented behavior, see
http://docs.python.org/library/os.path.html#os.path.exists |
|
Date |
User |
Action |
Args |
2012-08-04 16:34:17 | loewis | set | recipients:
+ loewis, pitrou, tim.golden, jkloth, brian.curtin |
2012-08-04 16:34:17 | loewis | set | messageid: <1344098057.17.0.326039220619.issue15556@psf.upfronthosting.co.za> |
2012-08-04 16:34:16 | loewis | link | issue15556 messages |
2012-08-04 16:34:16 | loewis | create | |
|