Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Are there plans for pickle support? #205

@cdiener

Description

@cdiener

Hi,

just noticed that symengine expressions can not be pickled.

In [1]: from symengine import *

In [2]: import pickle

In [3]: x, y = var("x, y")

In [4]: pickle.dumps(x + y)
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-4-134907157bd4> in <module>()
----> 1 pickle.dumps(x + y)

TypeError: can't pickle Add objects

Are there any future plans to support that?

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