This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author bhy
Recipients bhy
Date 2009-06-06.16:11:51
SpamBayes Score 2.5400163e-06
Marked as misclassified No
Message-id <1244304713.46.0.332603077148.issue6222@psf.upfronthosting.co.za>
In-reply-to
Content
The 2to3 except fixer will be failed with this code:

try: raise TypeError
except TypeError, x:
    pass

with this code, 2to3 will produce an empty diff, i.e. it fixes nothing.

But when change it to the following, 2to3 works again:

try:
    raise TypeError
except TypeError, x:
    pass

with this, 2to3 will provide a correct diff.
History
Date User Action Args
2009-06-06 16:11:53bhysetrecipients: + bhy
2009-06-06 16:11:53bhysetmessageid: <1244304713.46.0.332603077148.issue6222@psf.upfronthosting.co.za>
2009-06-06 16:11:52bhylinkissue6222 messages
2009-06-06 16:11:51bhycreate