[issue35510] pickling derived dataclasses

Serhiy Storchaka report at bugs.python.org
Sun Dec 16 02:39:41 EST 2018


Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:

You need to set the __module__ attribute.

B.__module__ = __name__

----------
nosy: +serhiy.storchaka

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


More information about the Python-bugs-list mailing list