Skip to content

Expose CloudPickler as Pickler instead of pickle.Pickler #366

@twoertwein

Description

@twoertwein

Hi,

I don't know whether there is a convention what <pickle_module>.Pickler is but it seems that some projects [1] assume that they can use it.

Unfortunately, Cloudpickle.Pickler is pickle's Pickler. It might be helpful if it points to cloudpickle.CloudPickler.

If the solution is to simply rename Pickle's Pickler to Pickler_ and to have an alias for CloudPickler, I'm happy to create a PR for that.

[1] pytorch/pytorch#38098

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions