Skip to content

Cells are no longer pickle-able after ba9772b #801

@bantin

Description

@bantin

This commit introduced a closure which is stored on the cell. Now, if I try to pickle a cell I get this:

AttributeError: Can't get local object '_make_dhs_solve.._solve'

Is it reasonable to expect to be able to pickle a cell? It's certainly useful for a variety of scenarios. One workaround is to delete that attribute from the cell object before pickling, but it's a bit annoying to do that every time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions