New submission from Brodie Rao <j...@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 <rep...@bugs.python.org>
<http://bugs.python.org/issue9661>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to