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 pbryan
Recipients gvanrossum, pbryan
Date 2020-12-07.17:36:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607362595.41.0.679668494764.issue42592@roundup.psfhosted.org>
In-reply-to
Content
I believe "a" below should be an optional key, not a required one.

Python 3.9.0 (default, Oct  7 2020, 23:09:01) 
[GCC 10.2.0] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import typing
>>> TD = typing.TypedDict("TD", {"a": str}, total=False)
>>> TD.__total__
False
>>> TD.__required_keys__
frozenset({'a'})
>>> TD.__optional_keys__
frozenset()
>>>
History
Date User Action Args
2020-12-07 17:36:35pbryansetrecipients: + pbryan, gvanrossum
2020-12-07 17:36:35pbryansetmessageid: <1607362595.41.0.679668494764.issue42592@roundup.psfhosted.org>
2020-12-07 17:36:35pbryanlinkissue42592 messages
2020-12-07 17:36:35pbryancreate