Guido van Rossum <gu...@python.org> added the comment:
> [T]here's other optional fields in the ast, type ignores don't seem essential > to the `Module`, could those be made optional as well? I think you're referring to the `?` syntax in `Python.asdl`. But the `type_ignores` attribute is already a list (using `*`) and AFAICT you cannot combine `?` and `*`. You have to provide an empty list. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35894> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com