On 5/18/07, Collin Winter <collinw gmail.com> wrote:
> On 5/18/07, Neal Norwitz <nnorwitz gmail.com> wrote:
> > On 5/18/07, Collin Winter <collinw 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
_______________________________________________
Python-Dev mailing list
Python-Dev python.org
ht
tp://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: http://mail.python.org/mailman/options/p
ython-dev/nessto%40sharedlog.com
|