[Python-Dev] Use Python 3.0 syntax for except and raise?

Mark Dickinson dickinsm at gmail.com
Sun Feb 17 20:52:03 CET 2008


On Feb 17, 2:42 pm, "Raymond Hettinger" <pyt... at rcn.com> wrote:
> There are some modules like Decimal that make a promise to run on earlier
> versions of Python.  In those cases only the first change (backwards compatible)
> should be made.  Our 5,000 line Decimal package will need to wait for 3.0 to
> use the except/as form :-(

It looks to me as though Decimal doesn't use "except Exception, err"
anywhere in those 5000 lines.
:-)

Mark


More information about the Python-Dev mailing list