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 Mark.Shannon, frenzy, pablogsal, vstinner
Date 2021-02-15.17:23:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613409794.43.0.0913212715854.issue43228@roundup.psfhosted.org>
In-reply-to
Content
> How is cloudpickle supposed to work? 

It creates a CodeType object and then create a function with this code object. It serializes the bytecode.

pickle is not affected since it doesn't create function objects, but retrieve them from imported modules.
History
Date User Action Args
2021-02-15 17:23:14vstinnersetrecipients: + vstinner, Mark.Shannon, frenzy, pablogsal
2021-02-15 17:23:14vstinnersetmessageid: <1613409794.43.0.0913212715854.issue43228@roundup.psfhosted.org>
2021-02-15 17:23:14vstinnerlinkissue43228 messages
2021-02-15 17:23:14vstinnercreate