Re: Issue 1551 in sympy: StrPrinter is class sympy.printing.str and instance in sympy.core.basic

2010-04-20 Thread sympy
Updates: Status: Fixed Comment #11 on issue 1551 by Toon.Verstraelen: StrPrinter is class sympy.printing.str and instance in sympy.core.basic http://code.google.com/p/sympy/issues/detail?id=1551 It is indeed best to squash the four patches together. I like your simplification, and

Re: Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Comment #5 on issue 1909 by smichr: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 All tests pass in the smichr's 1766 branch github. The test suite for expand has a test named test_expand_non_commutative_mul

Re: Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Comment #4 on issue 1909 by smichr: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 All tests pass in the smichr's 1766 branch github. The test suite for expand has a test named test_expand_non_commutative_mul

Re: Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Comment #3 on issue 1909 by smichr: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 All tests pass in the smichr's 1766 branch github. The test suite for expand has a test named test_expand_non_commutative_mul

Re: Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Comment #2 on issue 1909 by smichr: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 All tests pass in the smichr's 1766 branch github. The test suite for expand has a test named test_expand_non_commutative_mul

Issue 1910 in sympy: Update --help for bin/test and bin/doctest with glob information

2010-04-20 Thread sympy
Status: Started Owner: asmeurer Labels: Type-Defect Priority-Medium NeedsReview Documentation New issue 1910 by asmeurer: Update --help for bin/test and bin/doctest with glob information http://code.google.com/p/sympy/issues/detail?id=1910 See http://github.com/asmeurer/sympy/tree/--help. Pr

Re: Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Updates: Status: Accepted Labels: NeedsReview WrongResult Comment #1 on issue 1909 by asmeurer: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 Great. Now to actually fix the behavior. I think

Issue 1909 in sympy: Expand function does not deal with non-commutative multiplication and powers

2010-04-20 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 1909 by austin.lund: Expand function does not deal with non-commutative multiplication and powers http://code.google.com/p/sympy/issues/detail?id=1909 In [1]: a,b = symbols('ab', commutative=False) In [2]: expand((a*b)**2)

Re: Issue 1551 in sympy: StrPrinter is class sympy.printing.str and instance in sympy.core.basic

2010-04-20 Thread sympy
Comment #10 on issue 1551 by asmeurer: StrPrinter is class sympy.printing.str and instance in sympy.core.basic http://code.google.com/p/sympy/issues/detail?id=1551 You should probably mark him as the author using git commit --amend --author=... -- You received this message because you are

Re: Issue 1551 in sympy: StrPrinter is class sympy.printing.str and instance in sympy.core.basic

2010-04-20 Thread sympy
Comment #9 on issue 1551 by ronan.l...@gmail.com: StrPrinter is class sympy.printing.str and instance in sympy.core.basic http://code.google.com/p/sympy/issues/detail?id=1551 This looks good, thanks! I've squashed your commits together, rewritten the commit message and added a commit of m

Re: Issue 1908 in sympy: mutable core

2010-04-20 Thread sympy
Updates: Cc: ondrej.certik Comment #6 on issue 1908 by asmeurer: mutable core http://code.google.com/p/sympy/issues/detail?id=1908 I don't understand how you plan on achieving the efficient implementation along with mutability. The dictionaries that you are talking about have SymPy ob

Re: Issue 1908 in sympy: mutable core

2010-04-20 Thread sympy
Comment #5 on issue 1908 by ronan.l...@gmail.com: mutable core http://code.google.com/p/sympy/issues/detail?id=1908 Of course, an efficient implementation has to use mutable structures internally. But this is quite unrelated to the mutability of the object itself. To get an "immutable" objec

Re: Issue 1908 in sympy: mutable core

2010-04-20 Thread sympy
Comment #4 on issue 1908 by Vinzent.Steinberg: mutable core http://code.google.com/p/sympy/issues/detail?id=1908 I don't think it would be only useful for '+='-style operations. If we have Add(x, y, z) + Add(x, a) and would use dictionaries instead of tuples for args, we could merge the the

Re: Issue 1903 in sympy: Unify Assume keys, ask keys and ask handlers

2010-04-20 Thread sympy
Comment #6 on issue 1903 by Vinzent.Steinberg: Unify Assume keys, ask keys and ask handlers http://code.google.com/p/sympy/issues/detail?id=1903 No, it's a special read-only attribute. help(instance) always shows the docstring for the class. It's possible to overwrite it for functions and

Re: Issue 1903 in sympy: Unify Assume keys, ask keys and ask handlers

2010-04-20 Thread sympy
Comment #5 on issue 1903 by ronan.l...@gmail.com: Unify Assume keys, ask keys and ask handlers http://code.google.com/p/sympy/issues/detail?id=1903 Can't we just assign the __doc__ attribute? No, it's a special read-only attribute. help(instance) always shows the docstring for the class

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-20 Thread sympy
Comment #5 on issue 1905 by abro...@verizon.net: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 I 'A' is a multivector function do not use diff(A,x) since diff is not part of the GA module and does not test to see if A is a multivector. Use A.dif

Re: Issue 1905 in sympy: Differentiation and Geometric Algebra

2010-04-20 Thread sympy
Comment #4 on issue 1905 by jdeko...@hotmail.com: Differentiation and Geometric Algebra http://code.google.com/p/sympy/issues/detail?id=1905 Thanks for answering so quickly to my issue, but I don't quite understand what I should do. First comment, "Both diff(y,x) and exp(y) are not defi

Re: Issue 1908 in sympy: mutable core

2010-04-20 Thread sympy
Comment #3 on issue 1908 by ronan.l...@gmail.com: mutable core http://code.google.com/p/sympy/issues/detail?id=1908 You're mixing two separate issues: efficient implementation of Add/Mul and mutability. The first issue has already been mostly solved in the (easy) case of boolean operations,

Re: Issue 1778 in sympy: Rational from string can be improved

2010-04-20 Thread sympy
Comment #30 on issue 1778 by smichr: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 not 2nd to last...the one just before '1766 et al' -- You received this message because you are listed in the owner or CC fields of this issue, or because you starred t

Re: Issue 1778 in sympy: Rational from string can be improved

2010-04-20 Thread sympy
Updates: Labels: -NeedsBetterPatch NeedsReview Comment #29 on issue 1778 by smichr: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 Please see commit 1778 (the 2nd to the last) in my 1766 branch at github. The big change to Rational is that all

Re: Issue 1778 in sympy: Rational from string can be improved

2010-04-20 Thread sympy
Comment #28 on issue 1778 by smichr: Rational from string can be improved http://code.google.com/p/sympy/issues/detail?id=1778 Having not heard anything, I went ahead and did the following: rework rsimplify et al: rsimplify is used to change a basic expression into an expression where the numbe