➜

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 Nils Kattenbeck
Recipients Nils Kattenbeck, gvanrossum, keithblaha, kj, levkivskyi
Date 2021-06-07.19:36:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <[email protected]>
In-reply-to
Content
> I believe it had something to do with TypedDict instances being instances of dict at runtime, but I can't actually reconstruct the reason.

Hm that may be true.
My limited low-level Python knowledge leads me to believe that this could also be done using __new__ but I also read that most magic methods get called as type(Foo).__magic__(bar, ...) so that might not be possible.
(However also no methods can be declared on a TypedDict class so that might not be a problem?)

> Maybe it's written up in PEP 589, but I suspect not (I skimmed and couldn't find it).

I read it completely and could not find anything

> If you ask on typing-sig maybe David Foster (who contributed the initial idea and implementation) remembers.

I asked [here on typing-sig](https://mail.python.org/archives/list/[email protected]/thread/RNFWPRLHTUTZES2FDSSMY472JFGMD4EW/) but did not yet get any responses.
History
Date User Action Args
2021-06-07 19:36:01Nils Kattenbecksetrecipients: + Nils Kattenbeck, gvanrossum, levkivskyi, keithblaha, kj
2021-06-07 19:36:01Nils Kattenbecksetmessageid: <[email protected]>
2021-06-07 19:36:01Nils Kattenbecklinkissue41249 messages
2021-06-07 19:36:01Nils Kattenbeckcreate