[Python-3000] Pre-PEP: Simple input built-in in Python 3000

Fredrik Lundh fredrik at pythonware.com
Sat Dec 23 00:28:23 CET 2006


Guido van Rossum wrote:

> I like the exact proposal made here better than any of the
> alternatives mentioned so far.
> 
> - Against naming it readline(): the "real" readline doesn't strip the
> \n and returns an empty string for EOF instead of raising EOFError; I
> believe the latter is more helpful for true beginners' code.

given how much trouble true beginners have with exceptions, that's far 
from obvious.

</F>



More information about the Python-3000 mailing list