another candidate for deprecation (was: Why should input(prompt="hello:") fail?)

Skip Montanaro skip at pobox.com
Tue Nov 25 09:40:17 EST 2003


    >> Note however that input() is a poor choice for serious work: you
    >> should quickly get past the point of wanting to use it and learn why
    >> raw_input() is a better choice.

    Michele> Very true. Is "input" a candidate for deprecation in 3.0?  If
    Michele> not, here I give my vote to put "input" in the black list ;)

Even better, deprecate input() and rename raw_input() to input()...

Skip





More information about the Python-list mailing list