[issue43965] dataclasses.replace breaks when __init__ is overrriden in subclass

Sebastian Speitel report at bugs.python.org
Wed Apr 28 06:17:45 EDT 2021


Sebastian Speitel <sebastian.speitel at outlook.de> added the comment:

Or maybe a cls argument which defaults to obj.__class__?

----------

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


More information about the Python-bugs-list mailing list