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

Walter Dörwald walter at livinglogic.de
Thu Jan 22 18:23:19 CET 2015


On 20 Jan 2015, at 17:34, Neil Girdhar wrote:

> 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).

inspect.signature might need an update.

Servus,
   Walter


More information about the Python-Dev mailing list