Message187433
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) |
|
Date |
User |
Action |
Args |
2013-04-20 15:12:14 | barry | set | recipients:
+ barry, ncoghlan, benjamin.peterson, ezio.melotti, r.david.murray, eric.snow |
2013-04-20 15:12:14 | barry | set | messageid: <1366470734.49.0.846688620401.issue17792@psf.upfronthosting.co.za> |
2013-04-20 15:12:14 | barry | link | issue17792 messages |
2013-04-20 15:12:14 | barry | create | |
|