This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author aronacher
Recipients aronacher, marcin.bachry
Date 2008-10-07.17:42:12
SpamBayes Score 2.389371e-10
Marked as misclassified No
Message-id <1223401336.09.0.215000193908.issue4067@psf.upfronthosting.co.za>
In-reply-to
Content
The root of the problem is that ast.AST doesn't have _fields or
_attributes.  I think the better solution is to add these attributes to
the root class which makes it easier to work with these objects.

I attached a diff for asdl_c.py which fixes that problem by adding
attributes to the AST class.

Run `python Parser/asdl_c.py -h Python Parser/Python.asdl` to regenerate
the Python-ast.c file.

Can someone review the diff?
History
Date User Action Args
2008-10-07 17:42:16aronachersetrecipients: + aronacher, marcin.bachry
2008-10-07 17:42:16aronachersetmessageid: <1223401336.09.0.215000193908.issue4067@psf.upfronthosting.co.za>
2008-10-07 17:42:14aronacherlinkissue4067 messages
2008-10-07 17:42:14aronachercreate