[Python-Dev] syntax misfeature (exception)
Josiah Carlson
jcarlson at uci.edu
Mon Jan 22 00:17:44 CET 2007
"Phillip J. Eby" <pje at telecommunity.com> wrote:
>
> At 01:17 PM 1/20/2007, Josiah Carlson wrote:
>
> >Neal Becker <ndbecker2 at gmail.com> wrote:
> >[snip]
> > > It's not a question, it's a critique. I believe this is a misfeature since
> > > it's so easy to make this mistake.
> >
> >And it is going away with Py3k. Making it go away for Python 2.6 would
> >either allow for two syntaxes to do the same thing, or would require
> >everyone to change their except clauses. Neither is very desireable
> >(especially if writing code for 2.6 makes it not work for 2.5).
>
> With both, you can choose whether you'd rather your code be backward
> compatible with 2.5, or forward-compatible with 3.0. So 2.6 has to
> have both syntaxes.
If it's already been decided; great!
- Josiah
More information about the Python-Dev
mailing list