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 2008-11-23.19:07:05
SpamBayes Score 1.2830993e-05
Marked as misclassified No
Message-id <1227467228.52.0.497056133571.issue4396@psf.upfronthosting.co.za>
In-reply-to
Content
The parser module validates node trees when they are built from sequences.
The validator must, unfortunately, be updated every time there is a change
in the grammar.  The current validator fails to validate "with"
statements.  This bug probably exists in earlier versions of python
that support "with", but I haven't checked.

Here is a patch with a unit test for py3k.
Files involved: parsermodule.c, test_parser.py.
History
Date User Action Args
2008-11-23 19:07:08dbingersetrecipients: + dbinger
2008-11-23 19:07:08dbingersetmessageid: <1227467228.52.0.497056133571.issue4396@psf.upfronthosting.co.za>
2008-11-23 19:07:07dbingerlinkissue4396 messages
2008-11-23 19:07:06dbingercreate