[Python-bugs-list] [ python-Bugs-472956 ] UMR when there is a syntax error
noreply@sourceforge.net
noreply@sourceforge.net
Fri, 19 Oct 2001 16:29:20 -0700
Bugs item #472956, was opened at 2001-10-19 16:29
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=472956&group_id=5470
Category: Parser/Compiler
Group: Python 2.2
Status: Open
Resolution: None
Priority: 5
Submitted By: Neal Norwitz (nnorwitz)
Assigned to: Nobody/Anonymous (nobody)
Summary: UMR when there is a syntax error
Initial Comment:
perrdetail.token is unitialized when there is a syntax
error in a file.
Call chain during the error is:
err_input [pythonrun.c:1207]
PyParser_SimpleParseFile [pythonrun.c:1158]
load_source_module [import.c:634]
load_module [import.c:1318]
imp_load_module [import.c:2310]
PyCFunction_Call [methodobject.c:101]
The attached patch fixes the problem.
Neal
----------------------------------------------------------------------
You can respond by visiting:
http://sourceforge.net/tracker/?func=detail&atid=105470&aid=472956&group_id=5470