[New-bugs-announce] [issue4396] parser module fails to validate "with" statements.
David Binger
report at bugs.python.org
Sun Nov 23 20:07:08 CET 2008
New submission from David Binger <davidbinger at mac.com>:
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 <report at bugs.python.org>
<http://bugs.python.org/issue4396>
_______________________________________
More information about the New-bugs-announce
mailing list