[issue9661] 2to3 except fixer does the wrong thing for certain raise statements
Brodie Rao
report at bugs.python.org
Sun Aug 22 20:51:18 CEST 2010
New submission from Brodie Rao <junk at dackz.net>:
Given the following statements:
raise Foo('bar'), None, baz
raise Foo('bar'), None
2to3 produces:
raise Foo('bar')(None).with_traceback(baz)
raise Foo('bar')(None)
Instead of:
raise Foo('bar').with_traceback(baz)
raise Foo('bar')
----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 114694
nosy: brodie
priority: normal
severity: normal
status: open
title: 2to3 except fixer does the wrong thing for certain raise statements
type: behavior
versions: Python 2.6, Python 2.7, Python 3.1
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue9661>
_______________________________________
More information about the Python-bugs-list
mailing list