[issue13767] Would be nice to have a future import that turned off old except style

Zaheer Merali report at bugs.python.org
Wed Jan 11 14:24:52 CET 2012


New submission from Zaheer Merali <zaheermerali at gmail.com>:

It would be nice to have a future import to be able to prevent people in code doing:

try:
    ....
except Exception, e:
    ....

and make people do:

try:
    ....
except Exception as e:
    ....

----------
components: Interpreter Core
messages: 151058
nosy: Zaheer.Merali
priority: normal
severity: normal
status: open
title: Would be nice to have a future import that turned off old except style
type: enhancement
versions: Python 2.7

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue13767>
_______________________________________


More information about the Python-bugs-list mailing list