[Python-3000] Removing functions from the operator module

Guido van Rossum guido at python.org
Mon Jul 3 15:58:31 CEST 2006


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.

-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list