Amaury Forgeot d'Arc <amaur...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue481171> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com