[Python-Dev] PEP 448 (almost finished!) — Question regarding test_ast

Neil Girdhar mistersheik at gmail.com
Tue Jan 20 17:34:33 CET 2015


My question first:
test_ast is mostly generated code, but I can't find where it is being
generated.  I am pretty sure I know how to fix most of the introduced
problems.  Who is generating test_ast??

Update:

So far, I've done the following:

Updated the patch to 3.5
Fixed the grammar to accept final commas in argument lists always, and to
work with the already implemented code.
Fixed the ast to accept what it needs to accept and reject according to the
limitation laid down by Guido.
Fixed the parsing library.

Fixed these tests:
test_ast.py
test_extcall.py
test_grammar.py
test_syntax.py
test_unpack_ex.py

As far as I can tell, all I have left is to fix test_ast and possibly write
some more tests (there are already some new tests and some of the old
negative tests expecting SyntaxError are now positive tests).

Best,

Neil
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-dev/attachments/20150120/74031990/attachment.html>


More information about the Python-Dev mailing list