classification
Title: fix_except needs to allow for empty excepts
Type: behavior Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions:
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: collinwinter Nosy List: collinwinter, loewis
Priority: normal Keywords:

Created on 2008-03-22 00:49 by loewis, last changed 2008-03-28 02:20 by collinwinter. This issue is now closed.

Messages (2)
msg64303 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2008-03-22 00:49
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()
msg64611 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2008-03-28 02:20
Fixed in r61983.
History
Date User Action Args
2008-03-28 02:20:19collinwintersetstatus: open -> closed
resolution: fixed
messages: + msg64611
2008-03-22 00:49:33loewiscreate