classification
Title: new AST init breaks on Store and other fieldless Nodes
Type: Stage:
Components: Extension Modules Versions: Python 3.0, Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: aronacher, georg.brandl
Priority: normal Keywords: patch

Created on 2008-03-30 10:46 by aronacher, last changed 2008-03-30 19:05 by georg.brandl. This issue is now closed.

Files
File name Uploaded Description Edit
initfix.diff aronacher, 2008-03-30 10:46 Patch that fixes the problem and silences a warning
Messages (2)
msg64746 - (view) Author: Armin Ronacher (aronacher) * (Python committer) Date: 2008-03-30 10:46
#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.
msg64759 - (view) Author: Georg Brandl (georg.brandl) * (Python committer) Date: 2008-03-30 19:05
Fixed in r62051.
History
Date User Action Args
2008-03-30 19:05:59georg.brandlsetstatus: open -> closed
resolution: fixed
messages: + msg64759
nosy: + georg.brandl
2008-03-30 10:46:43aronachercreate