[Python-3000] Problem with grammar for 'except'?

Georg Brandl g.brandl at gmx.net
Tue Oct 7 18:04:37 CEST 2008


Guido van Rossum schrieb:
> Someone please fix the PEP. There are very good reasons for *not*
> allowing "except X, Y:" to have a meaning -- if 2.x code somehow
> accidentally ended up in the 3.0 world without having been run through
> 2to3, it would silently perturb the meaning in the most confusing way.
> That's why the implementation got it right.

Done.

Georg

-- 
Thus spake the Lord: Thou shalt indent with four spaces. No more, no less.
Four shall be the number of spaces thou shalt indent, and the number of thy
indenting shall be four. Eight shalt thou not indent, nor either indent thou
two, excepting that thou then proceed to four. Tabs are right out.



More information about the Python-3000 mailing list