Comments on Version 2, Draft Pep for Deprecating Builtins

Gareth McCaughan Gareth.McCaughan at pobox.com
Mon May 6 19:55:58 EDT 2002


> Raymond Hettinger wrote:
> > Please send me comments on a draft PEP deprecating
> > and relocating six built-in functions.  The text file is at:
> > http://users.rcn.com/python/download/deppep.txt

... and I replied. Shortly after doing so, I noticed the
other, later thread on the same subject that I'd missed.
Then I noticed the other other thread. In other words,
my article was obsolete long before it was sent. Sorry
about that. I'm attempting to cancel it, but who knows
whether that will propagate properly?

There was one thing I said that isn't completely redundant,
which I'll repeat here:

> Eliminating |input| would be a major improvement to the language,
> *provided* we get something that does what |input| should have
> done. Unfortunately, what with unary minus and complex numbers
> and lists and tuples and everything else being handled in the
> expression eval rather than the parser, this isn't as trivial
> as one might think.
> 
> To expand: we could really do with something that lets the user
> enter "46" or "0x1234" or "'walrus'" or "-2+6j" or "[1,'a',{3:4}]"
> and returns the same as |input| does for those, but that doesn't
> permit "f(123)" or "2**2002" or "[x for x in [1,2,3]]".

-- 
Gareth McCaughan  Gareth.McCaughan at pobox.com
.sig under construc



More information about the Python-list mailing list