Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2012-10-14 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-10-07 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-10-07 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-10-07 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-10-07 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-09-15 Thread sympy
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,

Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-09-12 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-09-12 Thread sympy
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

Re: Issue 2684 in sympy: Deepcopy does not work on evaluate False

2011-09-12 Thread sympy
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