dmlockhart <[email protected]> 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 working on a fix so that delattr works properly on nodes in _ast.

----------
release:  -> 2.2
status: unread -> chatting

________________________________________
PyPy bug tracker <[email protected]>
<https://bugs.pypy.org/issue1680>
________________________________________
_______________________________________________
pypy-issue mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to