New submission from Terry J. Reedy <[EMAIL PROTECTED]>:

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 <[EMAIL PROTECTED]>
<http://bugs.python.org/issue4175>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to