[Python-Dev] accepted peps that should be final? (original) (raw)

Neal Norwitz nnorwitz at gmail.com
Fri May 18 22🔞13 CEST 2007


On 5/18/07, Collin Winter <collinw at gmail.com> wrote:

On 5/18/07, Neal Norwitz <nnorwitz at gmail.com> wrote: > On 5/18/07, Collin Winter <collinw at gmail.com> wrote: > > > > > SA 3110 Catching Exceptions in Python 3000 Winter > > > > This is implemented (I'll update the PEP to reflect this). Has a > > decision been made as to whether 2.6 will support both "," and "as" in > > except statements? > > I think 'except as' should go into 2.6. I haven't heard any reason > not to make this change. It should be easy to implement.

Just the syntax, right, or should the end-of-suite cleanup code be backported, too?

Yes, just the syntax. That will make it similar to loop comprehension leaking the var in 2.6, but not 3.0.

n



More information about the Python-Dev mailing list