[Python-ideas] python3: subtle change to new input()

Guido van Rossum guido at python.org
Wed Nov 14 23:15:34 CET 2007


On Nov 14, 2007 1:43 PM, Terry Reedy <tjreedy at udel.edu> wrote:
> For many current Windows users, Python will be the only contact with an
> imitation-DOS console window and the need for EOF input, so strict
> imitation of old, semi-obsolete DOS mode behavior seems not necesarry.

We're not doing any of the imitation. On both Linux and Windows we're
getting whatever the OS provides. Note that on Linux you can change
the EOF character using the stty command. I wouldn't be surprised if
there was a way to change this setting in Windows too. But I'd be
opposed to Python messing with it -- while some users may never have
seen a DOS box before, others use them all the time, and Python should
work out of the box for the latter too. Those afraid of DOS boxes
should probably use IDLE anyway.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)



More information about the Python-ideas mailing list