[issue33007] Objects referencing private-mangled names do not roundtrip properly under pickling.

Josh Rosenberg report at bugs.python.org
Thu Aug 15 20:36:40 EDT 2019


Josh Rosenberg <shadowranger+python at gmail.com> added the comment:

This problem is specific to private methods AFAICT, since they're the only things which have an unmangled __name__ used to pickle them, but are stored as a mangled name.

More details on cause and solution on issue #37852, which I closed as a duplicate of this issue.

----------
nosy: +josh.r
versions: +Python 3.6, Python 3.8, Python 3.9

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


More information about the Python-bugs-list mailing list