[New-bugs-announce] [issue2453] fix_except needs to allow for empty excepts

Martin v. Löwis report at bugs.python.org
Sat Mar 22 01:49:33 CET 2008


New submission from Martin v. Löwis <martin at v.loewis.de>:

The code

try:
    f()
except X,a:
    g()
except:
    h()

currently doesn't get changed, but should be converted to

try:
    f()
except X as a:
    g()
except:
    h()

----------
assignee: collinwinter
components: 2to3 (2.x to 3.0 conversion tool)
messages: 64303
nosy: collinwinter, loewis
severity: normal
status: open
title: fix_except needs to allow for empty excepts
type: behavior

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2453>
__________________________________


More information about the New-bugs-announce mailing list