[New-bugs-announce] [issue4175] Should Unix-only tty be present in Windows /Lib?

Terry J. Reedy report at bugs.python.org
Wed Oct 22 18:52:01 CEST 2008

New submission from Terry J. Reedy <tjreedy at udel.edu>:

As long as tty is *nix only and does not have a msvcrt-based
implementation (which I presume is not exactly possible), I think it
should be absent, just like termios is.

>>> import tty
Traceback (most recent call last):
  File "<pyshell#0>", line 1, in <module>
    import tty
  File "C:\Programs\Python30\lib\tty.py", line 5, in <module>
    from termios import *
ImportError: No module named termios

Since this is expected, and not a bug, removing tty would give a
slightly shorter and clearer traceback ending with "No module named tty"

components: Windows
messages: 75090
nosy: tjreedy
severity: normal
status: open
title: Should Unix-only tty be present in Windows /Lib?
versions: Python 3.0

Python tracker <report at bugs.python.org>

More information about the New-bugs-announce mailing list