[issue481171] Hang using files named prn.txt, etc

Amaury Forgeot d'Arc report at bugs.python.org
Fri Jul 24 17:42:50 CEST 2009


Amaury Forgeot d'Arc <amauryfa at gmail.com> added the comment:

It seems that Windows has been "patched"...
open("COM").read() does not hang: it reads from the console until you
hit Ctrl-Z.
Testing on Windows 2000, some device names always succeed, others fail
with IOError when you open them or write to them.

The behavior seems correct to me (except of course this very concept of
special device names), and matches the expectations of the OP.

----------
nosy: +amaury.forgeotdarc
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue481171>
_______________________________________


More information about the Python-bugs-list mailing list