-
Notifications
You must be signed in to change notification settings - Fork 182
Closed
Description
The following works in 0.4.1 but breaks with 0.5.1. I've tried this with Python 3.6. I've also tried using protocols 0, 1, 2, 3, 4.
import cloudpickle
class Foo(object):
pass
def f():
Foo
cloudpickle.dumps(f)Then in a separate Python interpreter:
>>> import cloudpickle
>>> cloudpickle.loads(...the string dumped above...)
AttributeError: Can't get attribute 'Foo' on <module '__main__'>