Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-02-08 Thread sympy
Comment #10 on issue 3006 by asmeu...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 Well, if you think it should be changed back, we can discuss it. We really need to consider how things will work in the new assumptions. I guess

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-01-31 Thread sympy
Comment #9 on issue 3006 by julien.r...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 The assumption mechanism naturally supports having a symbol representing zero, so I don't see a reason to disallow it (and even less so if it inv

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-01-30 Thread sympy
Comment #8 on issue 3006 by asmeu...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 Hmm, I never considered that. If we don't allow Symbol(zero=True), should we allow symbols that directly imply zero=True? -- You received this messa

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-01-30 Thread sympy
Comment #7 on issue 3006 by julien.r...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 I think so, because 1) Using .is_zero would for example also handle Float('0') (once Float('0').is_zero is fixed, see https://github.com/sympy/sym

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-01-30 Thread sympy
Comment #6 on issue 3006 by asmeu...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 If issue 3134 was closed, is this still relevant? -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. T

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2013-01-30 Thread sympy
Updates: Labels: EasyToFix Blockedon: -sympy:3134 sympy:3134 Comment #5 on issue 3006 by julien.r...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 (No comment was entered for this change.) -- You received this message

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2012-03-14 Thread sympy
Updates: Blockedon: 3134 Comment #3 on issue 3006 by asmeu...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 I think it's better to block this issue on that one. -- You received this message because you are subscribed to the Go

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2012-03-14 Thread sympy
Comment #2 on issue 3006 by smi...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 Issue 3134 has been merged into this issue. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post t

Re: Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2012-02-18 Thread sympy
Updates: Labels: Assumptions Comment #1 on issue 3006 by asmeu...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 I guess it boils down to using is_zero instead of "is S.Zero". But I don't get why we allow Symbol(zero=True).

Issue 3006 in sympy: sign(Symbol('z', zero=True)) -> sign(z)

2012-01-15 Thread sympy
Status: Accepted Owner: Labels: Type-Defect Priority-Medium New issue 3006 by smi...@gmail.com: sign(Symbol('z', zero=True)) -> sign(z) http://code.google.com/p/sympy/issues/detail?id=3006 Although sign(p) (where p is Symbol('p', positive=True)) gives 1, sign of a symbol which is zero doe