[Python-bugs-list] [Bug #127271] parser module tuple2ast cannot handle node type 280

noreply@sourceforge.net noreply@sourceforge.net
Tue, 02 Jan 2001 05:58:16 -0800


Bug #127271, was updated on 2001-Jan-02 02:53
Here is a current snapshot of the bug.

Project: Python
Category: Parser/Compiler
Status: Open
Resolution: None
Bug Group: None
Priority: 5
Submitted by: pearu
Assigned to : fdrake
Summary: parser module tuple2ast cannot handle node type 280

Details: The following Python session illustrates the bug:
>>> import parser
>>> parser.tuple2ast((parser.suite('import sys,math')).totuple())
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
parser.ParserError: Expected node type 280, got 279.
>>> parser.tuple2ast((parser.suite('import sys\nimport math')).totuple())
<ast object at 0x810e978>


For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=127271&group_id=5470