[Python-Dev] deprecate input()?

Russ Cox rsc@plan9.bell-labs.com
Thu, 17 Jan 2002 13:01:21 -0500


> Yes, but what if the program containing calls to input() get shipped to
> someone else's computer?  It just seems to me that a) input is almost never
> what you want to call and that b) it would seem to a naive programmer to be
> the correct way to ask the user for a line of input.

Since most arbitrary lines of input generate syntax errors,
wouldn't the naive programmer quickly figure out that input
isn't the "read a line" function?  (Unless you're trying to
input numbers, I suppose.)

Russ