Deprecate input()

Magnus Lie Hetland magnus at hetland.org
Tue Apr 16 08:50:43 EDT 2002


Ian Bicking <ianb at colorstudy.com>:
>
> On Mon, 2002-04-15 at 06:35, Magnus Lie Hetland wrote:
> > But (in the (very?) long run) I think that the name "input" should
> > then be used for what is now raw_input. I know -- breakage, and all
> > that... I just think it fairly odd to have *only* raw_input, since the
> > "raw" qualification then becomes fairly meaningless.
> 
> Why not just make input into what it should be, a moderately-evaluating
> raw_input... like:
[snip]
> Of course, it gets more complex if you allow lists, dictionaries, and
> tuples... which you probably should.  But that's certainly doable while
> still being safe.

A good idea, IMO, although I think such beasts as lists and tuples
might cause the semantics to become a bit muddled...

>   Ian
> 

--
Magnus Lie Hetland                                  The Anygui Project
http://hetland.org                                  http://anygui.org





More information about the Python-list mailing list