On 5/18/07, Collin Winter <[EMAIL PROTECTED]> wrote:
> On 5/18/07, Neal Norwitz <[EMAIL PROTECTED]> wrote:
> > On 5/18/07, Collin Winter <[EMAIL PROTECTED]> 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
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to