Message201175
Had a to-and-fro on IRC with RDM who highlighted that an inconsistency between os.listdir and os.path.exists (the case here) is, at least, undesirable. As it stands, our os.exists on os.stat mechanism will fail because any attempt to get any kind of handle via CreateFile will fail once the file is unlinked. However, FindFirstFile succeeds (hence os.listdir).
I'll put forward a patch to see whether it's worth pursuing. |
|
Date |
User |
Action |
Args |
2013-10-24 20:09:41 | tim.golden | set | recipients:
+ tim.golden, loewis, pitrou, jkloth, brian.curtin, jeremy.kloth, chris.jerdonek |
2013-10-24 20:09:41 | tim.golden | set | messageid: <1382645381.08.0.158070555434.issue15556@psf.upfronthosting.co.za> |
2013-10-24 20:09:41 | tim.golden | link | issue15556 messages |
2013-10-24 20:09:40 | tim.golden | create | |
|