Issue 4081 in sympy: Equivalent doesn't sort args

2013-10-28 Thread sympy
Status: Valid Owner: Labels: Type-Defect Priority-Medium Logic Printing New issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 Equivalent(x, y) sometimes prints as Equivalent(x, y) and sometimes as Equivalent(y, x). I haven'

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-10-31 Thread sympy
Comment #1 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 Looks like a printer issue: the string printing of Equivalent falls back to the _print_Basic method, while other BooleanFunction subclasses such as And, Or

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-02 Thread sympy
Comment #2 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 Doesn't that mean it's an args ordering issue then? -- You received this message because this project is configured to send all issue notifications to this address

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-03 Thread sympy
Comment #3 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 I assume it's a design decision to have BooleanFunction not sort their args. -- You received this message because this project is configured to send all issu

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-03 Thread sympy
Comment #4 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 OK, looking at the code, it has nothing to do with BooleanFunction. BooleanFunction is just a Boolean Function, so it does sort its args (as it should). And and O

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-03 Thread sympy
Updates: Status: Started Comment #5 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 See https://github.com/sympy/sympy/pull/2560. -- You received this message because this project is configured to send all issue no

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-05 Thread sympy
Comment #6 on issue 4081 by julien.r...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 So can we remove the sorting from the _print_And and _print_Or methods? -- You received this message because this project is configured to send all issue not

Re: Issue 4081 in sympy: Equivalent doesn't sort args

2013-11-05 Thread sympy
Comment #7 on issue 4081 by asmeu...@gmail.com: Equivalent doesn't sort args http://code.google.com/p/sympy/issues/detail?id=4081 Printing sorting and arg sorting aren't always the same. So we'd have to check. -- You received this message because this project is configured to send all issu