Issue 2383 in sympy: sqrt(-2*x*neg) gives wrong expansion

2011-05-17 Thread sympy
Status: Accepted Owner: smi...@gmail.com Labels: Type-Defect Priority-Medium NeedsReview smichr New issue 2383 by smi...@gmail.com: sqrt(-2*x*neg) gives wrong expansion http://code.google.com/p/sympy/issues/detail?id=2383 While working on 1847 I noticed this error. I'll include this with the

Issue 2384 in sympy: Polynomial evaluation bug

2011-05-17 Thread sympy
Status: New Owner: ness...@googlemail.com CC: matt...@gmail.com Labels: Type-Defect Priority-Medium Polynomial New issue 2384 by ness...@googlemail.com: Polynomial evaluation bug http://code.google.com/p/sympy/issues/detail?id=2384 In [2]: _x = Dummy('x') In [3]: _A= Dummy('A') In [4]:

Re: Issue 2205 in sympy: Name for Undefined functions

2011-05-17 Thread sympy
Comment #21 on issue 2205 by pr...@goodok.ru: Name for Undefined functions http://code.google.com/p/sympy/issues/detail?id=2205 UndefinedFunction is somthing ambiguous. First of all, it imply that exist so called DefinedFunction (which remains by Function now?). But it is not so. E.g. sin(x)

Issue 2385 in sympy: Refactor Basic.sorted_key

2011-05-17 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Defect Priority-High Milestone-Release0.7.0 New issue 2385 by ronan.l...@gmail.com: Refactor Basic.sorted_key http://code.google.com/p/sympy/issues/detail?id=2385 There are a number of things to improve with Basic.sorted_key(): * first,

Re: Issue 2303 in sympy: Function to access the oeis database

2011-05-17 Thread sympy
Comment #17 on issue 2303 by matt...@gmail.com: Function to access the oeis database http://code.google.com/p/sympy/issues/detail?id=2303 @Aaron: That was the long term plan. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To post to this

Issue 2386 in sympy: gosper(...) is missing tests and docstring

2011-05-17 Thread sympy
Status: Accepted Owner: plaes...@gmail.com Labels: Type-Defect Priority-Medium New issue 2386 by plaes...@gmail.com: gosper(...) is missing tests and docstring http://code.google.com/p/sympy/issues/detail?id=2386 I have spent an evening trying to figure out how gosper() in

Issue 2387 in sympy: Evalf of trig functions with imaginary arguments

2011-05-17 Thread sympy
Status: Accepted Owner: ness...@googlemail.com Labels: Type-Defect Priority-Medium New issue 2387 by ness...@googlemail.com: Evalf of trig functions with imaginary arguments http://code.google.com/p/sympy/issues/detail?id=2387 In [1]: cosh(sqrt(I+0.5)).n() Out[1]: ⎛ ⎽⎞ cosh⎝╲╱

Re: Issue 2386 in sympy: gosper(...) is missing tests and docstring

2011-05-17 Thread sympy
Updates: Cc: matt...@gmail.com Comment #1 on issue 2386 by ness...@googlemail.com: gosper(...) is missing tests and docstring http://code.google.com/p/sympy/issues/detail?id=2386 I tried the same, and didn't succeed either. Mateusz, did you write this code? If so can you clarify?

Re: Issue 2384 in sympy: Polynomial evaluation bug

2011-05-17 Thread sympy
Updates: Status: Accepted Comment #1 on issue 2384 by asmeurer: Polynomial evaluation bug http://code.google.com/p/sympy/issues/detail?id=2384 If you instead do Poly((-3.52090351936158 + 8.88983362580487*I)*_A**4 + (11.8741294994128 - 8.32264165441408*I)*_A**3 + (-9.18362999273934 -

Re: Issue 527 in sympy: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression

2011-05-17 Thread sympy
Comment #12 on issue 527 by matt...@gmail.com: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression http://code.google.com/p/sympy/issues/detail?id=527 Pull request is here: https://github.com/sympy/sympy/pull/317 -- You

Re: Issue 2178 in sympy: A singleton object for the identity function

2011-05-17 Thread sympy
Updates: Status: Fixed Comment #6 on issue 2178 by ronan.l...@gmail.com: A singleton object for the identity function http://code.google.com/p/sympy/issues/detail?id=2178 It's in. -- You received this message because you are subscribed to the Google Groups sympy-issues group. To

Re: Issue 2179 in sympy: Lambda refactoring

2011-05-17 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview PassedReview Comment #9 on issue 2179 by ronan.l...@gmail.com: Lambda refactoring http://code.google.com/p/sympy/issues/detail?id=2179 It's in. -- You received this message because you are subscribed to the Google Groups sympy-issues

Re: Issue 2385 in sympy: Refactor Basic.sorted_key

2011-05-17 Thread sympy
Comment #1 on issue 2385 by asmeurer: Refactor Basic.sorted_key http://code.google.com/p/sympy/issues/detail?id=2385 It seems to me that this either be moved to Expr or not contain so much knowledge of specific Expr classes. Ronan, why does this need to be done before the release (other

Re: Issue 2387 in sympy: Evalf of trig functions with imaginary arguments

2011-05-17 Thread sympy
Comment #2 on issue 2387 by asmeurer: Evalf of trig functions with imaginary arguments http://code.google.com/p/sympy/issues/detail?id=2387 Is that patch an actual solution? Or does it break stuff? -- You received this message because you are subscribed to the Google Groups sympy-issues

Re: Issue 2386 in sympy: gosper(...) is missing tests and docstring

2011-05-17 Thread sympy
Comment #2 on issue 2386 by asmeurer: gosper(...) is missing tests and docstring http://code.google.com/p/sympy/issues/detail?id=2386 It's an implementation of Gosper's algorithm. See http://en.wikipedia.org/wiki/Gosper%27s_algorithm. If Mateusz can give the original reference that he

Re: Issue 2386 in sympy: gosper(...) is missing tests and docstring

2011-05-17 Thread sympy
Updates: Status: Started Owner: matt...@gmail.com Cc: -matt...@gmail.com Comment #3 on issue 2386 by matt...@gmail.com: gosper(...) is missing tests and docstring http://code.google.com/p/sympy/issues/detail?id=2386 Well, I didn't finish this at all. Today I made some

Re: Issue 527 in sympy: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression

2011-05-17 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview PassedReview Comment #13 on issue 527 by asmeurer: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression http://code.google.com/p/sympy/issues/detail?id=527 This has

Re: Issue 527 in sympy: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression

2011-05-17 Thread sympy
Comment #14 on issue 527 by matt...@gmail.com: guessing what functions, like integrate, roots, factor, apart (and many more), should do with the given expression http://code.google.com/p/sympy/issues/detail?id=527 Thanks. -- You received this message because you are subscribed to the

Re: Issue 2303 in sympy: Function to access the oeis database

2011-05-17 Thread sympy
Updates: Status: Accepted Labels: -Priority-High -Milestone-Release0.7.0 -NeedsBetterPatch -Ronan.Lamy Priority-Medium Milestone-Release0.7.1 Comment #18 on issue 2303 by asmeurer: Function to access the oeis database http://code.google.com/p/sympy/issues/detail?id=2303 I mean what

Re: Issue 1735 in sympy: Rename .func attribute

2011-05-17 Thread sympy
Updates: Summary: Rename .func attribute Labels: -Priority-High -Milestone-Release0.7.0 Priority-Medium Milestone-Release0.7.1 Comment #27 on issue 1735 by asmeurer: Rename .func attribute http://code.google.com/p/sympy/issues/detail?id=1735 I am postponing this. If we decide to

Re: Issue 2307 in sympy: Duplicate methods: as_coeff_mul and as_coeff_Mul

2011-05-17 Thread sympy
Updates: Labels: -NeedsBetterPatch -asmeurer NeedsReview smichr Comment #16 on issue 2307 by asmeurer: Duplicate methods: as_coeff_mul and as_coeff_Mul http://code.google.com/p/sympy/issues/detail?id=2307 See https://github.com/sympy/sympy/pull/313 for Chris's removal branch. -- You

Re: Issue 2307 in sympy: Duplicate methods: as_coeff_mul and as_coeff_Mul

2011-05-17 Thread sympy
Comment #17 on issue 2307 by asmeurer: Duplicate methods: as_coeff_mul and as_coeff_Mul http://code.google.com/p/sympy/issues/detail?id=2307 See https://github.com/sympy/sympy/pull/313 for Chris's removal branch. Chris, Mateusz, others: which option do you think would be the cleanest? I

Re: Issue 2371 in sympy: Completely untested modules in sympy.polys

2011-05-17 Thread sympy
Updates: Labels: -Milestone-Release0.7.0 Milestone-Release0.7.1 Comment #3 on issue 2371 by asmeurer: Completely untested modules in sympy.polys http://code.google.com/p/sympy/issues/detail?id=2371 These are not imported into the global namespace with from sympy import *, so I

Re: Issue 1337 in sympy: Refactor find() and replace()

2011-05-17 Thread sympy
Updates: Labels: -Milestone-Release0.7.0 Milestone-Release0.7.1 Comment #39 on issue 1337 by asmeurer: Refactor find() and replace() http://code.google.com/p/sympy/issues/detail?id=1337 Having heard nothing, I am postponing. If someone wants to work on this soon, we can move the

Issue 2388 in sympy: The value of str(expr) depends on a global setting

2011-05-17 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Defect Priority-High Milestone-Release0.7.0 Printing New issue 2388 by ronan.l...@gmail.com: The value of str(expr) depends on a global setting http://code.google.com/p/sympy/issues/detail?id=2388 With 'bin/isympy': In [1]:

Re: Issue 2371 in sympy: Completely untested modules in sympy.polys

2011-05-17 Thread sympy
Updates: Owner: matt...@gmail.com Cc: -matt...@gmail.com Comment #4 on issue 2371 by matt...@gmail.com: Completely untested modules in sympy.polys http://code.google.com/p/sympy/issues/detail?id=2371 This code will replace polyclasses.py (there is even preliminary support

Re: Issue 2388 in sympy: The value of str(expr) depends on a global setting

2011-05-17 Thread sympy
Updates: Status: NeedsDecision Comment #1 on issue 2388 by asmeurer: The value of str(expr) depends on a global setting http://code.google.com/p/sympy/issues/detail?id=2388 But that's how the printer works in SymPy. Having it *not* respect the -o option would be even more

Re: Issue 2283 in sympy: Non-iterative 'in'

2011-05-17 Thread sympy
Updates: Labels: asmeurer Comment #12 on issue 2283 by asmeurer: Non-iterative 'in' http://code.google.com/p/sympy/issues/detail?id=2283 See https://github.com/mattpap/sympy/pull/1 and the original pull request. -- You received this message because you are subscribed to the Google

Re: Issue 2160 in sympy: List of dependencies

2011-05-17 Thread sympy
Updates: Labels: -Milestone-Release0.7.0 Milestone-Release0.7.1 Comment #6 on issue 2160 by asmeurer: List of dependencies http://code.google.com/p/sympy/issues/detail?id=2160 This would be nice to have, but people with knowledge of some of the more esoteric (at least to me) parts of

Re: Issue 2383 in sympy: sqrt(-2*x*neg) gives wrong expansion

2011-05-17 Thread sympy
Updates: Status: Fixed Comment #1 on issue 2383 by smi...@gmail.com: sqrt(-2*x*neg) gives wrong expansion http://code.google.com/p/sympy/issues/detail?id=2383 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 2377 in sympy: expand(log=True) could use a force option

2011-05-17 Thread sympy
Updates: Status: Fixed Comment #2 on issue 2377 by smi...@gmail.com: expand(log=True) could use a force option http://code.google.com/p/sympy/issues/detail?id=2377 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups

Re: Issue 1766 in sympy: separatevars should use expand [was: expand(power_base=True) is too aggressive]

2011-05-17 Thread sympy
Updates: Summary: separatevars should use expand [was: expand(power_base=True) is too aggressive] Comment #71 on issue 1766 by smi...@gmail.com: separatevars should use expand [was: expand(power_base=True) is too aggressive] http://code.google.com/p/sympy/issues/detail?id=1766 I'm just

Re: Issue 1847 in sympy: Powsimp returns wrong result

2011-05-17 Thread sympy
Updates: Status: Fixed Comment #22 on issue 1847 by smi...@gmail.com: Powsimp returns wrong result http://code.google.com/p/sympy/issues/detail?id=1847 (No comment was entered for this change.) -- You received this message because you are subscribed to the Google Groups sympy-issues

Re: Issue 2307 in sympy: Duplicate methods: as_coeff_mul and as_coeff_Mul

2011-05-17 Thread sympy
Issue 2307: Duplicate methods: as_coeff_mul and as_coeff_Mul http://code.google.com/p/sympy/issues/detail?id=2307 This issue is now blocking issue 2308. See http://code.google.com/p/sympy/issues/detail?id=2308 -- You received this message because you are listed in the owner or CC fields of this

Re: Issue 2308 in sympy: Rename or refactor Add.primitive()

2011-05-17 Thread sympy
Updates: Blockedon: 2307 Comment #4 on issue 2308 by asmeurer: Rename or refactor Add.primitive() http://code.google.com/p/sympy/issues/detail?id=2308 It's easy to add a .primitive() method to Expr, but its implementation depends on what we decide to do in issue 2307. -- You

Issue 2389 in sympy: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__

2011-05-17 Thread sympy
Status: Accepted Owner: ronan.l...@gmail.com Labels: Type-Defect Priority-High New issue 2389 by ronan.l...@gmail.com: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__ http://code.google.com/p/sympy/issues/detail?id=2389 According to the implementation in

Re: Issue 2389 in sympy: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__

2011-05-17 Thread sympy
Issue 2389: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__ http://code.google.com/p/sympy/issues/detail?id=2389 This issue is now blocking issue 2283. See http://code.google.com/p/sympy/issues/detail?id=2283 -- You received this message because you are listed in the

Re: Issue 2283 in sympy: Non-iterative 'in'

2011-05-17 Thread sympy
Updates: Blockedon: 2389 Comment #13 on issue 2283 by ronan.l...@gmail.com: Non-iterative 'in' http://code.google.com/p/sympy/issues/detail?id=2283 I think that 'in' is the wrong function to use for this functionality, see issue 2389. -- You received this message because you are

Re: Issue 2389 in sympy: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__

2011-05-17 Thread sympy
Comment #2 on issue 2389 by asmeurer: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__ http://code.google.com/p/sympy/issues/detail?id=2389 Removing Basic.__contains__ would be a pretty big break. If you delete it and run the tests, for example, you get a ton of

Re: Issue 2309 in sympy: Failing test with Ellipse.random_point()

2011-05-17 Thread sympy
Updates: Status: Fixed Comment #2 on issue 2309 by smi...@gmail.com: Failing test with Ellipse.random_point() http://code.google.com/p/sympy/issues/detail?id=2309 This was fixed by checking that the coefficient is small: def test_ellipse_random_point(): e3 =

Re: Issue 1220 in sympy: w = Wild(coeff) fails

2011-05-17 Thread sympy
Comment #4 on issue 1220 by asmeurer: w = Wild(coeff) fails http://code.google.com/p/sympy/issues/detail?id=1220 This fails only on certain Python versions and architectures. The name coeff doesn't seem to matter. It appears what matters is the alphabetical order with respect to rest:

Re: Issue 1527 in sympy: bug in the printer (function + subs)

2011-05-17 Thread sympy
Updates: Status: Fixed Labels: Printing Comment #2 on issue 1527 by asmeurer: bug in the printer (function + subs) http://code.google.com/p/sympy/issues/detail?id=1527 This was fixed with the commit commit aeb80f87a16fad38ffc44b18aa52d739519e003b Author: Chris Smith

Re: Issue 2205 in sympy: Name for Undefined functions

2011-05-17 Thread sympy
Updates: Labels: -Milestone-Release0.7.0 -NeedsReview -Ronan.Lamy Milestone-Release0.7.1 Comment #22 on issue 2205 by asmeurer: Name for Undefined functions http://code.google.com/p/sympy/issues/detail?id=2205 This is all internal, right? Are there any objections to postponing this? --