[issue47143] Add functools.copy_class() which updates closures
STINNER Victor
report at bugs.python.org
Mon Mar 28 11:24:37 EDT 2022
STINNER Victor <vstinner at python.org> added the comment:
It seems like the copy module doesn't support copying a class. copy.deepcopy(cls) doesn't copy a class but returns its argument, the class unchanged.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue47143>
_______________________________________
More information about the Python-bugs-list
mailing list