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 potomak
Recipients eric.snow, levkivskyi, potomak
Date 2019-07-19.02:37:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1563503868.6.0.836210720561.issue37496@roundup.psfhosted.org>
In-reply-to
Content
I'd like to work on this, but I'm kind of new to the codebase. Do you think I should leave this task to someone more expert on the matter?

I took a look at the function you mentioned and I was able to support simple annotations, for instance `x: int`, by evaluating `node.annotation.id`. This method doesn't work with more complex annotations thought. For instance a simple type alias (`Foo = int`, `x: Foo`) breaks this naive implementation. Another error happens if the annotation is not a simple `id`, but a subscript function application, for instance `x: List[int]`.

Do you have any suggestion for how to continue working on this task?
History
Date User Action Args
2019-07-19 02:37:48potomaksetrecipients: + potomak, eric.snow, levkivskyi
2019-07-19 02:37:48potomaksetmessageid: <1563503868.6.0.836210720561.issue37496@roundup.psfhosted.org>
2019-07-19 02:37:48potomaklinkissue37496 messages
2019-07-19 02:37:48potomakcreate