[Python-3000] Removing functions from the operator module

Collin Winter collinw at gmail.com
Mon Jul 3 16:11:22 CEST 2006


On 7/3/06, Guido van Rossum <guido at python.org> wrote:
> On 7/3/06, Collin Winter <collinw at gmail.com> wrote:
> > PEP 3100 mentions that isCallable() and sequenceIncludes() are to be
> > removed from the operator module in Python 3000 because there are
> > better, more obvious ways of spelling these things.
> >
> > So, on that note, should operator.truth() and operator.abs() be added
> > to the to-be-removed list, in favour of the builtins bool() and abs()?
>
> I don't think so. Or else you'd have to remove operator.add as well.

Stupid question: why? What's the better spelling of operator.add?

Collin Winter


More information about the Python-3000 mailing list