[pypy-issue] [issue1680] ast.NodeTransformer throws AttributeError in pypy only

2014-03-06 Thread dmlockhart
dmlockhart added the comment: A temporary work around is to modify the Python ast library to set attributes to None, instead of deleting them. In lib-python/2.7/ast.py: 308 #delattr(node, field) 309 setattr(node, field, None) I'm currently wo

[pypy-issue] [issue1698] cffi.FFI.cdef fails when source string contains $ symbols

2014-03-05 Thread dmlockhart
New submission from dmlockhart : I get the following error when trying to parse C source containing $ symbols: E CDefError: cannot parse "unsigned int _top_in_$000_msg," E :6:25: Illegal character '$' This works using cffi-0.8.1 in CPython, so I susp

[pypy-issue] [issue1680] ast.NodeTransformer throws AttributeError in pypy only

2014-01-22 Thread dmlockhart
New submission from dmlockhart : I have some code which performs transformations of python ast objects. The code executes as expected in CPython 2.7, but when run with the pypy interpreter, I receive the following traceback: Traceback (most recent call last): File "app_main.py"