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 tim.golden
Recipients brian.curtin, chris.jerdonek, jeremy.kloth, jkloth, loewis, pitrou, tim.golden
Date 2013-10-24.20:09:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1382645381.08.0.158070555434.issue15556@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2013-10-24 20:09:41tim.goldensetrecipients: + tim.golden, loewis, pitrou, jkloth, brian.curtin, jeremy.kloth, chris.jerdonek
2013-10-24 20:09:41tim.goldensetmessageid: <1382645381.08.0.158070555434.issue15556@psf.upfronthosting.co.za>
2013-10-24 20:09:41tim.goldenlinkissue15556 messages
2013-10-24 20:09:40tim.goldencreate