Author logistix
Recipients
Date 2004-11-12.00:09:09
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
A program of mine ran into an error while testing against 
python 2.4.  It grabs source files and uses the parser 
module to generate asts.

I've attached the output from an ast generated from 
\lib\bsddb\__init__.py in both python 2.3 and 2.4.  I'll 
snip the important stuff here though.

===2.3====
[257,
 [264,
  [265,
   [266,...
=========

===2.4====
[257,
 [266,
  [267,
   [268,...
=========

2.3 correctly goes from file_input node to a stmt node.
2.4 goes from file_input node to a small_stmt node.

I did check the grammar file since there have been some 
language changes for 2.4, and it still has the line:

file_input: (NEWLINE | stmt)* ENDMARKER

I don't know if the error is in the parsermodule or the 
parser itself.

I'll also note that the file in question isn't using any of 
the new language features.
History
Date User Action Args
2007-08-23 14:27:25adminlinkissue1064873 messages
2007-08-23 14:27:25admincreate