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

Mark Summerfield mark at qtrac.eu
Wed Nov 14 15:00:39 CET 2007


On 2007-11-14, Georg Brandl wrote:
> Mark Summerfield schrieb:
> > Hi,
> >
> > In Python 3, input() returns an empty string in two situations: blank
> > lines and EOF.
>
> Could this be a platform issue? Here, on Linux, input() raises EOFError
> on EOF.

Sorry, you're quite right...

-- 
Mark Summerfield, Qtrac Ltd., www.qtrac.eu




More information about the Python-ideas mailing list