A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2006-March/062234.html below:

[Python-Dev] Generated code in test_ast.py

[Python-Dev] Generated code in test_ast.py [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

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4