[Tutor] Defining functions

Kent Johnson kent37 at tds.net
Fri Mar 25 12:32:40 CET 2005


Michael Dunn wrote:
> Something I've always wondered: if input() is so dangerous, why is it
> there? What valid uses does it have in the wild?

It's a mistake planned to be removed in Python 3.0, the "hypothetical future release of Python that 
can break backwards compatibility with the existing body of Python code."

Python tries very hard to maintain backward compatibility so things like input() are not removed.

http://www.python.org/peps/pep-3000.html#built-ins

Kent



More information about the Tutor mailing list