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 borisompol
Recipients borisompol
Date 2015-05-14.22:01:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1431640873.55.0.0369746969915.issue24196@psf.upfronthosting.co.za>
In-reply-to
Content
>>> f=open('prn.txt','w')
Traceback (most recent call last):
  File "<pyshell#80>", line 1, in <module>
    f=open('prn.txt','w')
FileNotFoundError: [Errno 2] No such file or directory: 'prn.txt'

Names that fail:
prn.
prn.txt
prn.yourmmama.txt
...

Names that do not fail:
prn
prn_.txt
npr.txt
...

Happens on Windows 7, Python3.3, both 32 bit and 64 bit
This should be easy to replicate.
History
Date User Action Args
2015-05-14 22:01:13borisompolsetrecipients: + borisompol
2015-05-14 22:01:13borisompolsetmessageid: <1431640873.55.0.0369746969915.issue24196@psf.upfronthosting.co.za>
2015-05-14 22:01:13borisompollinkissue24196 messages
2015-05-14 22:01:13borisompolcreate