[issue2514] new AST init breaks on Store and other fieldless Nodes

2008-03-30 Thread Armin Ronacher

New submission from Armin Ronacher [EMAIL PROTECTED]:

#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 [EMAIL PROTECTED]
http://bugs.python.org/issue2514
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue2514] new AST init breaks on Store and other fieldless Nodes

2008-03-30 Thread Georg Brandl

Georg Brandl [EMAIL PROTECTED] added the comment:

Fixed in r62051.

--
nosy: +georg.brandl
resolution:  - fixed
status: open - closed

__
Tracker [EMAIL PROTECTED]
http://bugs.python.org/issue2514
__
___
Python-bugs-list mailing list 
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com