Message382662
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() >>> | |
| Date | User | Action | Args | | 2020-12-07 17:36:35 | pbryan | set | recipients: + pbryan, gvanrossum | | 2020-12-07 17:36:35 | pbryan | set | messageid: <1607362595.41.0.679668494764.issue42592@roundup.psfhosted.org> | | 2020-12-07 17:36:35 | pbryan | link | issue42592 messages | | 2020-12-07 17:36:35 | pbryan | create | | |