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

Mark Dickinson dickinsm at gmail.com
Sun Feb 17 20:58:17 CET 2008
On Feb 17, 2008 2:42 PM, Raymond Hettinger <python 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.0to
> use the except/as form :-(
>

Not a problem.  Decimal doesn't use "except Exception, err" anywhere
in those 5000 lines, as far as I can tell! :-)

Mark
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20080217/75d68362/attachment.htm 


More information about the Python-Dev mailing list