This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dbinger
Recipients dbinger
Date 2007-09-11.11:05:30
SpamBayes Score 0.29616135
Marked as misclassified No
Message-id <1189508731.28.0.0196002397645.issue1144@psf.upfronthosting.co.za>
In-reply-to
Content
>>> parser.sequence2st(parser.suite("class A(object): pass").tolist())
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
parser.ParserError: Expected node type 326, got 329.

---

The Grammar in python 3 uses "arglist" instead of "testlist"
for class definitions.  The parsermodule's validate_class()
calls validate_testlist() where it should now be calling
validate_arglist().
History
Date User Action Args
2007-09-11 11:05:31dbingersetspambayes_score: 0.296161 -> 0.29616135
recipients: + dbinger
2007-09-11 11:05:31dbingersetspambayes_score: 0.296161 -> 0.296161
messageid: <1189508731.28.0.0196002397645.issue1144@psf.upfronthosting.co.za>
2007-09-11 11:05:31dbingerlinkissue1144 messages
2007-09-11 11:05:30dbingercreate