[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Committed revision 58987. -- status: open -> closed __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list m

[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread David Binger
David Binger added the comment: Okay, here is the whole thing with a unittest that exposes the problem. Index: Lib/test/test_parser.py === --- Lib/test/test_parser.py (revision 58984) +++ Lib/test/test_parser.py (working cop

[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread Guido van Rossum
Guido van Rossum added the comment: Can you submit a unittest that catches this? Then I can check in the fix. -- assignee: fdrake -> gvanrossum __ Tracker <[EMAIL PROTECTED]> __ __

[issue1144] parsermodule validation out of sync with Grammar

2007-11-15 Thread David Binger
David Binger added the comment: The one line patch below makes "import parser; parser.sequence2st(parser.suite("class A(object): pass").tolist())" work. It puts the parsermodule's validation back in sync with the Python3 grammar for this rule of the grammar. This bug is a serious problem for m

[issue1144] parsermodule validation out of sync with Grammar

2007-11-08 Thread Guido van Rossum
Guido van Rossum added the comment: No, I didn't write the parser module (which isn't the parser, just a wrapper to make it accessible from Python). -- assignee: gvanrossum -> fdrake nosy: +fdrake __ Tracker <[EMAIL PROTECTED]>

[issue1144] parsermodule validation out of sync with Grammar

2007-11-08 Thread Christian Heimes
Christian Heimes added the comment: It's still breaking but Guido should know how to fix the parser. -- assignee: -> gvanrossum keywords: +patch nosy: +gvanrossum, tiran priority: normal -> low resolution: -> accepted __ Tracker <[EMAIL PROTECTED]>

[issue1144] parsermodule validation out of sync with Grammar

2007-09-17 Thread Sean Reifschneider
Changes by Sean Reifschneider: -- priority: -> normal __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http:/

[issue1144] parsermodule validation out of sync with Grammar

2007-09-11 Thread David Binger
New submission from David Binger: >>> parser.sequence2st(parser.suite("class A(object): pass").tolist()) Traceback (most recent call last): File "", line 1, in parser.ParserError: Expected node type 326, got 329. --- The Grammar in python 3 uses "arglist" instead of "testlist" for class defi