Deprecate input()

Aahz aahz at pythoncraft.com
Mon Apr 15 10:57:51 EDT 2002


In article <a9cv63$qhu$1 at bob.news.rcn.net>,
Raymond Hettinger <python at rcn.com> wrote:
>
>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.

Write a PEP.
-- 
Aahz (aahz at pythoncraft.com)           <*>         http://www.pythoncraft.com/

What if there were no rhetorical questions?



More information about the Python-list mailing list