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 barry
Recipients barry, benjamin.peterson, eric.snow, ezio.melotti, ncoghlan, r.david.murray
Date 2013-04-20.15:12:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1366470734.49.0.846688620401.issue17792@psf.upfronthosting.co.za>
In-reply-to
Content
Ezio, the problem with your patch is that it also gives a warning on this code, which is totally safe:

def good():
    exc = None
    try:
        bar(int(sys.argv[1]))
    except KeyError as e:
        print('ke')
        exc = e
    except ValueError as e:
        print('ve')
        exc = e
    print(exc)
History
Date User Action Args
2013-04-20 15:12:14barrysetrecipients: + barry, ncoghlan, benjamin.peterson, ezio.melotti, r.david.murray, eric.snow
2013-04-20 15:12:14barrysetmessageid: <1366470734.49.0.846688620401.issue17792@psf.upfronthosting.co.za>
2013-04-20 15:12:14barrylinkissue17792 messages
2013-04-20 15:12:14barrycreate