[Python-Dev] Generated code in test_ast.py
"Martin v. Löwis"
martin at v.loewis.de
Thu Mar 9 23:59:57 CET 2006
Grant Olson wrote:
> I’m finishing up a patch for bug 1441408. I had to change the asdl definitions
> which in turn caused a failure in test_ast.py. A comment in the file indicates
> that #### EVERYTHING BELOW IS GENERATED ##### and has a definition for Slice()
> that is no longer valid. Can anyone tell me how this is generated? Should it be
> automatically generated when I run asdl_c.py?
You run it with -g, then manually put the output into the test case.
> I'm developing on Windows. I know in the past some of the autogenerated code
> from the ast-branch worked better via make. Would this have fixed itself on a
> linux box, or is this a manual process?
It's a manual process.
Regards,
Martin
More information about the Python-Dev
mailing list