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 levkivskyi
Recipients gvanrossum, keithblaha, levkivskyi
Date 2020-07-16.10:12:25
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1594894345.56.0.396461526659.issue41249@roundup.psfhosted.org>
In-reply-to
Content
> I was thinking that similarly to __required_keys__ and __optional_keys__, the TypedDict could preserve its original bases in a new dunder attribute, and get_type_hints could work off of that instead of MRO when it is dealing with a TypedDict. I would be willing to contribute the PRs to implement this if the design is acceptable

TBH this is not very elegant, but I think you can go ahead with this (at least as a quick fix) since I don't see a better solution yet.
History
Date User Action Args
2020-07-16 10:12:25levkivskyisetrecipients: + levkivskyi, gvanrossum, keithblaha
2020-07-16 10:12:25levkivskyisetmessageid: <1594894345.56.0.396461526659.issue41249@roundup.psfhosted.org>
2020-07-16 10:12:25levkivskyilinkissue41249 messages
2020-07-16 10:12:25levkivskyicreate