Updates:
Labels: -NeedsReview
Comment #10 on issue 2684 by julien.r...@gmail.com: Deepcopy does not work
on evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
(No comment was entered for this change.)
--
You received this message because you are subscribed to the
Comment #5 on issue 2684 by alvin.sa...@gmail.com: Deepcopy does not work
on evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
I'm using Sympy in a project where this issue came up - that is, pickle was
not able to handle Sympy Functions which were constructed using a
Comment #6 on issue 2684 by vlada.pe...@gmail.com: Deepcopy does not work
on evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
Thanks Alvin, there's also some current work to solve this at:
https://github.com/sympy/sympy/pull/622
--
You received this message because you
Comment #7 on issue 2684 by patry.ni...@gmail.com: Deepcopy does not work
on evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
Yep, and it's working for me so far. It should also work on all objects
(not just functions or Mul)
--
You received this message because you
Updates:
Labels: NeedsReview
Comment #8 on issue 2684 by asmeurer: Deepcopy does not work on evaluate
False
http://code.google.com/p/sympy/issues/detail?id=2684
(No comment was entered for this change.)
--
You received this message because you are subscribed to the Google Groups
Comment #3 on issue 2684 by ronan.l...@gmail.com: Deepcopy does not work on
evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
Actually, __reduce__ and __reduce_ex__ bypass the standard pickling and
copy protocols, so it would be nicer to avoid using them. However,
Status: New
Owner:
Labels: Type-Defect Priority-Medium
New issue 2684 by nico...@kwyk.fr: Deepcopy does not work on evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
to reproduce:
a = Float(-11.1)
b = Integer(19)
mul = Mul(a, b, evaluate=False)
from copy import deepcopy
Updates:
Status: Accepted
Comment #1 on issue 2684 by asmeurer: Deepcopy does not work on evaluate
False
http://code.google.com/p/sympy/issues/detail?id=2684
From what I gleamed on IRC, the problem is that it evaluates it and then
sends Float the state. Perhaps we need to include
Comment #2 on issue 2684 by ronan.l...@gmail.com: Deepcopy does not work on
evaluate False
http://code.google.com/p/sympy/issues/detail?id=2684
No, that wouldn't work, because when __setstate__ is called, the Mul has
already been turned into a Float. I think that we have to implement