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

2007-03-07 Thread Guido van Rossum
On 3/7/07, Collin Winter <[EMAIL PROTECTED]> wrote: > On 7/13/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > > It turns out I was misled by Collin's claim that the PEP wants > >

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

2007-03-07 Thread Collin Winter
On 7/13/06, Collin Winter <[EMAIL PROTECTED]> wrote: > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > It turns out I was misled by Collin's claim that the PEP wants > > > isCallable and sequenceIncludes removed "because there are

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

2006-07-13 Thread Collin Winter
On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > It turns out I was misled by Collin's claim that the PEP wants > > isCallable and sequenceIncludes removed "because there are better, > > more obvious ways to spell these things." He mus

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

2006-07-03 Thread Greg Ewing
Guido van Rossum wrote: > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > Stupid question: why? What's the better spelling of operator.add? > > + But that's not a function you can pass around, whereas bool and abs are. -- Greg ___ Python-3

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

2006-07-03 Thread Collin Winter
On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 7/3/06, Michael Urman <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > > Stupid question: why? What's the better spelling of operator.add?

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

2006-07-03 Thread Guido van Rossum
On 7/3/06, Michael Urman <[EMAIL PROTECTED]> wrote: > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > Stupid question: why? What's the better spelling of operator.add? > > > > + > > I reject your slippery slope argument that we'd

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

2006-07-03 Thread Collin Winter
On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > + But you can't pass a plus sign to higher-order functions. > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > > P

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

2006-07-03 Thread Michael Urman
On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > Stupid question: why? What's the better spelling of operator.add? > > + I reject your slippery slope argument that we'd have to remove operator.add. Not that we'd be able to tell, but +

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

2006-07-03 Thread Guido van Rossum
+ On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> wrote: > > > PEP 3100 mentions that isCallable() and sequenceIncludes() are to be > > > removed from the operator module in Python 3000 be

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

2006-07-03 Thread Collin Winter
On 7/3/06, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On 7/3/06, Collin Winter <[EMAIL PROTECTED]> 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

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

2006-07-03 Thread Guido van Rossum
On 7/3/06, Collin Winter <[EMAIL PROTECTED]> 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 oper