Skip to content

Picklability #2

@bartvm

Description

@bartvm

As mentioned by @dmitriy-serdyuk in #1 (comment) the GzipJSONHandler and PrintHandler objects aren't picklable in Python 2 (GzipJSONHandler seems fine in Python 3).

This is of course expected behaviour because pickling objects like file handles doesn't make sense most of the time, but we might need to come up with something to make Blocks' checkpointing happy.

I don't like the idea of adding all sorts of pickling magic just to accommodate Blocks, but maybe something can be done from the Blocks side instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions