This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author gvanrossum
Recipients Anthony Sottile, benjamin.peterson, brett.cannon, davidism, gvanrossum, njs, yselivanov
Date 2019-05-20.15:18:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1558365536.9.0.636604718348.issue35894@roundup.psfhosted.org>
In-reply-to
Content
> [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.
History
Date User Action Args
2019-05-20 15:18:56gvanrossumsetrecipients: + gvanrossum, brett.cannon, benjamin.peterson, njs, yselivanov, Anthony Sottile, davidism
2019-05-20 15:18:56gvanrossumsetmessageid: <1558365536.9.0.636604718348.issue35894@roundup.psfhosted.org>
2019-05-20 15:18:56gvanrossumlinkissue35894 messages
2019-05-20 15:18:56gvanrossumcreate