[Python-Dev] Fwd: Re: [Python-3000] Removing functions from the operator module
Collin Winter
collinw at gmail.com
Mon Mar 12 17:19:26 CET 2007
On 3/11/07, Armin Rigo <arigo at tunes.org> wrote:
> Hi Collin,
>
> On Wed, Mar 07, 2007 at 11:53:45PM -0600, Collin Winter wrote:
> > bool() and abs() aren't syntax, so I would never look in operator.
>
> abs() is not syntax but bool() is part of every syntactic construction
> that takes a truth value argument (if, while, and, ...)
iter() is part of every syntactic construction that takes an iterator
argument (for, listcomps, gencomps, ...). Should it go in operator as
well?
Collin Winter
More information about the Python-Dev
mailing list