Deprecate input()

Raymond Hettinger python at rcn.com
Mon Apr 15 15:19:27 EDT 2002


[Raymond Hettinger]
> >The help and tutor maillists indicate that the use of input() rather than
> >raw_input() is widespread.  I think this function is so harmful and so
> >likely to be used that it should be deprecated hasta pronto (right away).
> >When really needed, eval(raw_input()) is easy enough to code and explicit
> >about what it does.

[Aahz]
> Write a PEP.

Rules of the game:
'''A PEP that has not been discussed on python-list at python.org and/or
python-dev at python.org will not be accepted.  ''' -- from Pep 1





More information about the Python-list mailing list