[issue7842] py_compile.compile SyntaxError output

2013-02-19 Thread Roundup Robot
Roundup Robot added the comment: New changeset c7f04c09dc56 by R David Murray in branch '2.7': #7842: backport fix for py_compile.compile syntax error message handling. http://hg.python.org/cpython/rev/c7f04c09dc56 -- nosy: +python-dev ___ Python

[issue7842] py_compile.compile SyntaxError output

2013-02-19 Thread R. David Murray
R. David Murray added the comment: Better late than never. Be nice if someone would contribute a test, but I'm not going let that hold things up for such a simple patch that is already in default with no test. -- nosy: +r.david.murray resolution: - fixed stage: patch review -

[issue7842] py_compile.compile SyntaxError output

2010-04-08 Thread Daniel Diniz
Daniel Diniz aja...@gmail.com added the comment: Change went into py3k without tests, do we want them? If so, please update Stage to test needed. -- nosy: +ajaksu2 priority: - normal stage: - patch review ___ Python tracker rep...@bugs.python.org

[issue7842] py_compile.compile SyntaxError output

2010-02-02 Thread Nigel Heron
New submission from Nigel Heron ni...@psycode.com: when a syntax error is generated in py_compile.compile(), the wrong arguments are passed to the new PyCompileError exception which in turn passes the wrong args to traceback.format_exception_only() producing the wrong output. this was fixed