[issue9661] 2to3 except fixer does the wrong thing for certain raise statements

2010-08-22 Thread Brodie Rao
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

[issue9661] 2to3 except fixer does the wrong thing for certain raise statements

2010-08-22 Thread Benjamin Peterson
Benjamin Peterson benja...@python.org added the comment: r84276. I didn't fix the second case raise e, None since that syntax is quite pointless. -- nosy: +benjamin.peterson resolution: - fixed status: open - closed ___ Python tracker