Index: Lib/codeop.py =================================================================== --- Lib/codeop.py (Revision 75468) +++ Lib/codeop.py (Arbeitskopie) @@ -96,7 +96,7 @@ if code: return code if not code1 and repr(err1) == repr(err2): - raise SyntaxError(err1) + raise err1 def _compile(source, filename, symbol): return compile(source, filename, symbol, PyCF_DONT_IMPLY_DEDENT)