[Python-Dev] Fwd: Re: [Python-3000] Removing functions from the operator module

Guido van Rossum guido at python.org
Mon Mar 12 20:49:03 CET 2007


Yes.

On 3/12/07, Collin Winter <collinw at gmail.com> wrote:
> 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
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> http://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: http://mail.python.org/mailman/options/python-dev/guido%40python.org
>


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


More information about the Python-Dev mailing list