Comment on draft PEP for deprecating six builtins

Raymond Hettinger python at rcn.com
Mon Apr 29 03:18:58 EDT 2002


"Chris Tavares" <christophertavares at earthlink.net> wrote in message
news:d06z8.12562
> >         from functionals import map, filter, reduce
> >         from math import pow, divmod
> >         from deprecated import input
<snip>
>
> The "directive" needs to be in the code. And you've already provided the
> form of this directive: the import statements above.

Agreed.

>
> I would think the reasonable migration would be to add the modules listed
> above (or add the functions as mentioned), but leave the builtins for a
> version or two. Then remove the builtins.

Agreed.


Raymond Hettinger





More information about the Python-list mailing list