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 <>
>>> import os.path
>>> os.path.exists("con")
>>> os.path.exists("nul")
>>> os.path.exists("prn")

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.

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: <>
2007-10-26 17:07:12facundobatistalinkissue1311 messages
2007-10-26 17:07:11facundobatistacreate