Eric V. Smith <e...@trueblade.com> added the comment:
Also, when dataclasses was originally written, it deliberately did not import typing, for performance reasons. I don't know if PEP 560 (I think) improved performance enough to make a difference. But adding this dependency needs to be looked at. But if we are going to import typing, there are other changes that I'd like to make, like improving the ClassVar stuff. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue36643> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com