PEP 681<https://www.python.org/dev/peps/pep-0681/> improves type checker 
support for libraries with dataclass-like behaviors by introducing a way to map 
the behaviors of decorators and classes in those libraries to the behaviors of 
stdlib dataclass.

The PEP will not affect CPython directly except for the addition of the 
dataclass_transform decorator in typing.py. The decorator is currently in 
typing_extensions.

The canonical discussion thread is on Typing 
SIG<https://mail.python.org/archives/list/typing-...@python.org/thread/EAALIHA3XEDFDNG2NRXTI3ERFPAD65Z4/>.
 Please send any comments there.

Any feedback would be appreciated!

Thanks,
Erik
_______________________________________________
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailman3/lists/python-dev.python.org/
Message archived at 
https://mail.python.org/archives/list/python-dev@python.org/message/7MEB5WYMUZ6SPEVZMVG5H7NQRI7KRB25/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to