STINNER Victor <vstin...@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 <rep...@bugs.python.org>
<https://bugs.python.org/issue43228>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to