Josh Rosenberg <> 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 <>
Python-bugs-list mailing list

Reply via email to