[New-bugs-announce] [issue4529] parser module failure on valid try/except/finally blocks

Kai Willadsen report at bugs.python.org
Thu Dec 4 18:22:09 CET 2008


New submission from Kai Willadsen <kai.willadsen at gmail.com>:

Using the parser module to create a parse tree succeeds, but a
subsequent tuple2ast fails, when parsing valid try/except/finally (and
try/except/else/finally) blocks. parser.tuple2ast fails with:
  parser.ParserError: Illegal number of children for try/finally node.

----------
files: parser-testcase.py
messages: 76900
nosy: kaiw
severity: normal
status: open
title: parser module failure on valid try/except/finally blocks
type: behavior
versions: Python 2.5
Added file: http://bugs.python.org/file12221/parser-testcase.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4529>
_______________________________________


More information about the New-bugs-announce mailing list