[Python-3000] Reminder: Py3k PEPs due by April

Guido van Rossum guido at python.org
Wed Apr 11 06:50:19 CEST 2007

On 4/10/07, Greg Ewing <greg.ewing at canterbury.ac.nz> wrote:
> Guido van Rossum wrote:
> > all PEPs for Py3k are due by April.
> Can we nominate one of our 2.x PEPs for promotion
> to a 3000 PEP?
> If so, I'd like to nominate PEP 335 - Overloadable
> Boolean Operators.

Sure. That looks like something I recall intending to do and never
getting to. Or maybe I'm imagining it. Anyway, it sounds like a good
idea if it can be done efficiently.

 I'm kind of worried about the performance though -- won't you have to
pay at least for the lookup of __and1__ or __or1__ in the MRO of the
first argument?

Also, given the plans for backporting significant portions of 3.0 to
2.6, why not propose this for 2.6? I see no incompatibilities that
would prevent this. If it is checked in soon enough it should be
straightforward to merge it into 3.0. Backporting after first
implementing it in 3.0 would be more work.

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

More information about the Python-3000 mailing list