[issue43228] Regression in function builtins

STINNER Victor report at bugs.python.org
Mon Feb 15 12:23:14 EST 2021


STINNER Victor <vstinner at python.org> added the comment:

> 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.

----------

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


More information about the Python-bugs-list mailing list