Skip to content

can't pickle dict_keys objects #380

Description

@brl0

Using Dask.distributed, which uses cloudpickle for serialization, I encounter an error when passing a dict_keys object as a parameter to a function. I reported the issue there, where it was suggested that I also report an issue here for consideration.

As a test, I attempted to use cloudpickle directly on this type of object and received the following error:
TypeError: can't pickle dict_keys objects

Would it be possible to add the ability to pickle dict_keys object?

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions