[Python-bugs-list] [ python-Bugs-472956 ] UMR when there is a syntax error (original) (raw)
noreply@sourceforge.net noreply@sourceforge.net
Fri, 19 Oct 2001 16:29:20 -0700
- Previous message: [Python-bugs-list] [ python-Bugs-472940 ] can't getattr() attribute shown by dir()
- Next message: [Python-bugs-list] [ python-Bugs-473009 ] binascii_b2a_base64() improper str limit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message: [Python-bugs-list] [ python-Bugs-472940 ] can't getattr() attribute shown by dir()
- Next message: [Python-bugs-list] [ python-Bugs-473009 ] binascii_b2a_base64() improper str limit
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]