[pypy-issue] [issue804] bug in initialization of ast.AST types

Albert Zeyer tracker at bugs.pypy.org
Thu Jul 21 17:07:52 CEST 2011


New submission from Albert Zeyer <albzey at gmail.com>:

Code:

```
import ast
n = ast.FunctionDef(name=None)
n.name = "foo"
print n.name
```

This prints `None` with PyPy 1.5.0-alpha0. And the expected `foo` with CPython 
2.6.

----------
messages: 2840
nosy: albert, pypy-issue
priority: bug
status: unread
title: bug in initialization of ast.AST types

________________________________________
PyPy bug tracker <tracker at bugs.pypy.org>
<https://bugs.pypy.org/issue804>
________________________________________


More information about the pypy-issue mailing list