[Python-bugs-list] [ python-Bugs-481171 ] Hang using files named prn.txt, etc

noreply@sourceforge.net noreply@sourceforge.net
Mon, 12 Nov 2001 21:43:09 -0800


Bugs item #481171, was opened at 2001-11-12 21:43
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=481171&group_id=5470

Category: Windows
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Andrew Bennetts (spiv)
Assigned to: Tim Peters (tim_one)
Summary: Hang using files named prn.txt, etc

Initial Comment:
Windows reserves many possible filenames as reserved 
device names.

Examples are prn.xxx, con.xxx, com1.xxx aux.xxx, etc, 
where xxx can be any extension.  Attempts to 
create/read/write to these files can hang the 
interpreter, but ideally would just throw an OSError.

A partial list of device names is mentioned at:
http://cert.uni-
stuttgart.de/archive/bugtraq/2001/07/msg00086.html

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=481171&group_id=5470