[Python-ideas] Remove tty module

anatoly techtonik techtonik at gmail.com
Wed Jul 24 10:43:36 CEST 2013


http://hg.python.org/cpython/file/74fd1959cf44/Lib/tty.py

tty module is cryptic. The low level interface it is exposed can be
covered by appropriate recipes in termios module documentation. You
can't understand tty without understanding termios. You also can't
understand tty without being a Unix guru -
http://en.wikipedia.org/wiki/TTY I doubt that raw mode function (which
is 50% of this stuff) is really used by anyone.

In ideal world the tty should be substituted with interface with less
cryptic terminology replacing cbreak mode, cooked mode, raw mode with
user oriented concepts. Otherwise this functionality is already
covered by termios interface.
--
anatoly t.


More information about the Python-ideas mailing list