Re: [sympy] pickle for Function and Derivative

2023-01-28 Thread Oscar Benjamin
On Sat, 28 Jan 2023 at 16:38, Thomas Ligon wrote: > > Should pickle work for Function and Derivative? I found Sympy issue #4297 and > the answer seems to be no. > Nevertheless, here is what I have: > I have a private dictionary containing expressions of symbols, and everything > works fine. >

Re: [sympy] pickle for Function and Derivative

2023-01-28 Thread Carl K
I've had good luck with CloudPickle, a package, when Pickle doesn't work. From: sympy@googlegroups.com on behalf of Thomas Ligon Sent: Saturday, January 28, 2023 8:38:46 AM To: sympy Subject: [sympy] pickle for Function and Derivative Should pickle work for

[sympy] pickle for Function and Derivative

2023-01-28 Thread Thomas Ligon
Should pickle work for Function and Derivative? I found Sympy issue #4297 and the answer seems to be no. Nevertheless, here is what I have: I have a private dictionary containing expressions of symbols, and everything works fine. Then I created a new private dictionary that includes Function and