[Python-bugs-list] [ python-Bugs-507477 ] Py_CompileString and tracebacks

noreply@sourceforge.net noreply@sourceforge.net
Wed, 23 Jan 2002 04:44:38 -0800


Bugs item #507477, was opened at 2002-01-23 04:44
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=507477&group_id=5470

Category: Python Interpreter Core
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Krzysztof Zych (badpenguin)
Assigned to: Nobody/Anonymous (nobody)
Summary: Py_CompileString and tracebacks

Initial Comment:
The API docs say, that when compiling a string with Py_Compilestring(code, filename, start), the filename param is used to construct the code object and may appear in tracebacks. Exceptions generated from these compiled objects evaluated with PyEval_EvalCode do not show this valuable description. This does not, somehow, apply when using Python's compile() and eval().

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=507477&group_id=5470