Skip to content

Pickling error with 0.5.1. #131

Description

@robertnishihara

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.

importcloudpickleclassFoo(object):
passdeff():
Foocloudpickle.dumps(f)

Then in a separate Python interpreter:

>>>importcloudpickle>>>cloudpickle.loads(...thestringdumpedabove...)
AttributeError: Can't get attribute 'Foo' on <module '__main__'>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions