[issue41746] Add optional type information to asdl_seq objects

Pablo Galindo Salgado report at bugs.python.org
Tue Sep 8 16:53:11 EDT 2020


Pablo Galindo Salgado <pablogsal at gmail.com> added the comment:

> Why not just include these in the Python-ast.h and auto-generate them in the asdl_c.py

That's a possibility, but that would incur in a lot of new extra code, and some asdl_seq items in the parser contain non-standard types that only PEG uses, so is not possible to auto-generate them.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue41746>
_______________________________________


More information about the Python-bugs-list mailing list