[Python-ideas] python3: subtle change to new input()
Guido van Rossum
guido at python.org
Wed Nov 14 15:28:34 CET 2007
On Nov 14, 2007 6:00 AM, Mark Summerfield <mark at qtrac.eu> wrote:
> 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, did it return "" on your platform? Then please file a bug. I
can't quite tell if that's the case or if you simply misread the docs.
--
--Guido van Rossum (home page: http://www.python.org/~guido/)
More information about the Python-ideas
mailing list