
Ok. Thanks for the example Neil! The draft PEP has been updated. https://github.com/debonte/peps/blob/dataclass_transforms/pep-9999.rst -Erik -----Original Message----- From: Eric Traut <eric@traut.com> Sent: Friday, January 7, 2022 9:07 AM To: typing-sig@python.org Subject: [Typing-sig] Re: Dataclass Transform draft PEP [You don't often get email from eric@traut.com. Learn why this is important at http://aka.ms/LearnAboutSenderIdentification.] Thanks for providing a link to that example. I hadn't seen this pattern previously. Based on this, I agree that `dataclass_transform` should also apply to ordinary classes as well as metaclasses. Erik, if you agree with that conclusion, please update the draft PEP. I'll then update the reference implementation in pyright. _______________________________________________ Typing-sig mailing list -- typing-sig@python.org To unsubscribe send an email to typing-sig-leave@python.org https://nam06.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmail.pytho... Member address: erik.debonte@microsoft.com