Message74465
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? |
|
Date |
User |
Action |
Args |
2008-10-07 17:42:16 | aronacher | set | recipients:
+ aronacher, marcin.bachry |
2008-10-07 17:42:16 | aronacher | set | messageid: <1223401336.09.0.215000193908.issue4067@psf.upfronthosting.co.za> |
2008-10-07 17:42:14 | aronacher | link | issue4067 messages |
2008-10-07 17:42:14 | aronacher | create | |
|