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 facundobatista
Recipients d_kagedal, facundobatista, kdwyer, loewis
Date 2007-10-26.17:07:11
SpamBayes Score 0.0007542882
Marked as misclassified No
Message-id <1193418432.26.0.34904916557.issue1311@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import os.path
>>> os.path.exists("con")
False
>>> os.path.exists("nul")
False
>>> os.path.exists("prn")
False

This is in Windows 2000 (5.00.2195) sp4, using *both* Python 2.3.5 and
2.5.1, no cygwin.

Personally, I'm +1 with Mark Hammond about this:

    I agree it is unfortunate that the behaviour has changed, 
    but these special names are broken enough on Windows that 
    rely on the kernel32 function and behaves like it says 
    seems the sanest thing to do.

Taking in consideration that *now* it behaves equally in different
windows systems, but not before, I think this issue should be closed as
"invalid" (it's not a bug).

I'll wait some days to get more behaviour responses, though.

Regards,
History
Date User Action Args
2007-10-26 17:07:12facundobatistasetspambayes_score: 0.000754288 -> 0.0007542882
recipients: + facundobatista, loewis, d_kagedal, kdwyer
2007-10-26 17:07:12facundobatistasetspambayes_score: 0.000754288 -> 0.000754288
messageid: <1193418432.26.0.34904916557.issue1311@psf.upfronthosting.co.za>
2007-10-26 17:07:12facundobatistalinkissue1311 messages
2007-10-26 17:07:11facundobatistacreate