[issue47143] Add types.copy_class() which updates closures

Lumír Balhar report at bugs.python.org
Sat Apr 2 06:57:52 EDT 2022


Lumír Balhar <frenzy.madness at gmail.com> added the comment:

Do you think it's a good idea to start a PR with a copy of the implementation from attrs for Python 3.11? We can then add tests for the new function and also some for dataclasses where this new function is needed and try to find all corner cases.

----------
nosy: +frenzy

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47143>
_______________________________________


More information about the Python-bugs-list mailing list