[New-bugs-announce] [issue2514] new AST init breaks on Store and other fieldless Nodes

Armin Ronacher report at bugs.python.org
Sun Mar 30 12:46:44 CEST 2008


New submission from Armin Ronacher <armin.ronacher at active-4.com>:

#2505 adds a new init to the ast nodes that allows initialization of the
fields directory from the constructor.  Unfortunately there are nodes
where fields is None (_ast.Store and others) and the constructor didn't
take care of this.

The patch applied adds a test for None to fix the problem.

----------
components: Extension Modules
files: initfix.diff
keywords: patch
messages: 64746
nosy: aronacher
severity: normal
status: open
title: new AST init breaks on Store and other fieldless Nodes
versions: Python 2.6, Python 3.0
Added file: http://bugs.python.org/file9901/initfix.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2514>
__________________________________


More information about the New-bugs-announce mailing list