[issue7161] raise of SyntaxError in codeop was ported incorrectly to Py3

2009-10-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: Fixed in r75472. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___

[issue7161] raise of SyntaxError in codeop was ported incorrectly to Py3

2009-10-17 Thread Trundle
New submission from Trundle : The original lines in Lib/codeop.py under Python 2.6: raise SyntaxError, err1 Those lines were ported to Python 3 as: raise SyntaxError(err1) Which is wrong because `err1` is in both cases an instance of `SyntaxError`. Quote from the language reference: "If the