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

noreply@sourceforge.net noreply@sourceforge.net
Sat, 06 Jan 2001 22:03:03 -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: Closed
Resolution: Fixed
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>


Follow-Ups:

Date: 2001-Jan-06 22:03
By: fdrake

Comment:
Fixed in Modules/parsermodule.c revision 2.60.
-------------------------------------------------------

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