This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients petr.viktorin, shihai1991, vstinner
Date 2020-11-19.16:45:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1605804356.86.0.0893798895102.issue42410@roundup.psfhosted.org>
In-reply-to
Content
> _pickle.PicklingError: Can't pickle <class 'functools.partial'>: it's not the same object as functools.partial

I don't understand this error. It looks like a bug in functools.

The PR 23407 looks like a workaround rather than a fix.

You should analyze why "cls != obj" conditon is true: why cls is not obj?
History
Date User Action Args
2020-11-19 16:45:56vstinnersetrecipients: + vstinner, petr.viktorin, shihai1991
2020-11-19 16:45:56vstinnersetmessageid: <1605804356.86.0.0893798895102.issue42410@roundup.psfhosted.org>
2020-11-19 16:45:56vstinnerlinkissue42410 messages
2020-11-19 16:45:56vstinnercreate