On 4/10/07, Greg Ewing <[EMAIL PROTECTED]> 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/) _______________________________________________ Python-3000 mailing list [email protected] http://mail.python.org/mailman/listinfo/python-3000 Unsubscribe: http://mail.python.org/mailman/options/python-3000/archive%40mail-archive.com
