Comment on Draft Pep ver 4 -- Psuedo Deprecations of Builtins

Richard Jones rjones at ekit-inc.com
Tue Apr 30 19:40:31 EDT 2002


On Wed, 1 May 2002 09:35, John Roth wrote:
> "Raymond Hettinger" <python at rcn.com> wrote in message
> > I no longer think map(), filter(), and reduce() should even be
> > psuedo-deprecated,
> > but apply(), oct() and hex() are prime candidates.  The input()
>
> function
>
> > should
> > still be considered for genuine deprecation and deletion, but that
>
> reflects
>
> > my
> > view of input() as a bug.
>
> I strongly disagree about apply(). The only use I've found for it
> varies the function which it calls, not the parameter lists! Having
> variable parameter lists doesn't hack it - I need the variable
> function.

Eh?

>>> def f():
...   print 'hi'
...
>>> a=f
>>> a()
hi
>>>






More information about the Python-list mailing list