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

STINNER Victor report at bugs.python.org
Mon Mar 28 12:25:04 EDT 2022


STINNER Victor <vstinner at python.org> added the comment:

> * old fixed attrs issue: https://github.com/python-attrs/attrs/issues/102
> * attrs issue with Python 3.11: https://github.com/python-attrs/attrs/issues/907
> * dataclasses issues with slots=True: https://bugs.python.org/issue46404

Similar bug without attrs nor dataclasses: bpo-29944 "Argumentless super() fails in classes constructed with type()".

----------

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


More information about the Python-bugs-list mailing list