New submission from David Binger <[EMAIL PROTECTED]>: 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. ---------- components: Library (Lib) files: parsewith.diff keywords: patch messages: 76271 nosy: dbinger severity: normal status: open title: parser module fails to validate "with" statements. type: behavior versions: Python 3.0 Added file: http://bugs.python.org/file12111/parsewith.diff _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4396> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com