Re: Issue 2587 in sympy: Strange printing at SymPy Live

2011-07-22 Thread sympy
Comment #1 on issue 2587 by asmeurer: Strange printing at SymPy Live http://code.google.com/p/sympy/issues/detail?id=2587 Here's a more complete session: f = 1/(x**2*(x**2 + 1)) f 1 - 2 / 1 \ x *| + 1| |/1 \| ||--|| || 2|| \\x // apart(

Re: Issue 2589 in sympy: Implement tab completion in SymPy Live

2011-07-22 Thread sympy
Comment #1 on issue 2589 by matt...@gmail.com: Implement tab completion in SymPy Live http://code.google.com/p/sympy/issues/detail?id=2589 On Python level this is straight forward, but on JavaScript level not that much, because Tab key handling in web browsers is very peculiar (e.g. in (a

Re: Issue 2482 in sympy: Stop bundling mpmath

2011-07-22 Thread sympy
Comment #33 on issue 2482 by vlada.pe...@gmail.com: Stop bundling mpmath http://code.google.com/p/sympy/issues/detail?id=2482 Some minor points: * py.test: I was under the impression that our testing framework is a fork of an old version of py.test. Anyway, the argument is that if we had use

Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Status: Accepted Owner: ness...@googlemail.com Labels: Type-Defect Priority-Low Milestone-Release0.7.2 Python3 New issue 2590 by vlada.pe...@gmail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 I'

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Updates: Cc: Vinzent.Steinberg fredrik@gmail.com asmeurer Comment #1 on issue 2590 by ness...@googlemail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 Is it a bug for a sympy function

Issue 2591 in sympy: expr.as_ordered_terms("grlex")[0] gives the wrong term

2011-07-22 Thread sympy
Status: Accepted Owner: j.yehde...@gmail.com Labels: Type-Defect Priority-Medium New issue 2591 by j.yehde...@gmail.com: expr.as_ordered_terms("grlex")[0] gives the wrong term http://code.google.com/p/sympy/issues/detail?id=2591 Try the following: f = Poly(x*t**3 + t**4 + 1, x, t) f.LM("grl

Issue 2592 in sympy: Automatic evalf considered harmful

2011-07-22 Thread sympy
Status: Accepted Owner: ness...@googlemail.com CC: asmeurer Labels: Type-Defect Priority-Medium New issue 2592 by ness...@googlemail.com: Automatic evalf considered harmful http://code.google.com/p/sympy/issues/detail?id=2592 A while ago i fixed issue 1321, which enabled sin(0.1) -> 0.09983341

Re: Issue 2571 in sympy: Regression in Integral.subs

2011-07-22 Thread sympy
Comment #12 on issue 2571 by smi...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 This is what I refer to as 'post-subs semantics', I believe, in the discussion of what subs should do. -- You received this message because you are subscribed to the G

Re: Issue 2571 in sympy: Regression in Integral.subs

2011-07-22 Thread sympy
Comment #13 on issue 2571 by smi...@gmail.com: Regression in Integral.subs http://code.google.com/p/sympy/issues/detail?id=2571 And Ronan's comments are probably apropos here: rather than trying to control this with keywords, perhaps semantically distinc functions should be created. -- You rece

Re: Issue 2585 in sympy: Tests take too much memory

2011-07-22 Thread sympy
Updates: Status: Fixed Labels: -NeedsReview Milestone-Release0.7.2 Comment #2 on issue 2585 by vlada.pe...@gmail.com: Tests take too much memory http://code.google.com/p/sympy/issues/detail?id=2585 Aaand this is in (thanks Ronan!) and it had the desired effect: the server do

Re: Issue 2026 in sympy: Exact, algebraic, and integer_power substitution

2011-07-22 Thread sympy
Comment #22 on issue 2026 by ronan.l...@gmail.com: Exact, algebraic, and integer_power substitution http://code.google.com/p/sympy/issues/detail?id=2026 I updated my branch (cf. comments 10, 12, 14). It's still at https://github.com/rlamy/sympy/commits/matching. The method is now called x

Re: Issue 2026 in sympy: Exact, algebraic, and integer_power substitution

2011-07-22 Thread sympy
Comment #23 on issue 2026 by ronan.l...@gmail.com: Exact, algebraic, and integer_power substitution http://code.google.com/p/sympy/issues/detail?id=2026 I updated my branch (cf. comments 10, 12, 14). It's still at https://github.com/rlamy/sympy/commits/matching. The method is now called x

Re: Issue 2026 in sympy: Exact, algebraic, and integer_power substitution

2011-07-22 Thread sympy
Comment #24 on issue 2026 by ronan.l...@gmail.com: Exact, algebraic, and integer_power substitution http://code.google.com/p/sympy/issues/detail?id=2026 I updated my branch (cf. comments 10, 12, 14). It's still at https://github.com/rlamy/sympy/commits/matching. The method is now called x

Re: Issue 2591 in sympy: expr.as_ordered_terms("grlex")[0] gives the wrong term

2011-07-22 Thread sympy
Updates: Status: Invalid Comment #1 on issue 2591 by matt...@gmail.com: expr.as_ordered_terms("grlex")[0] gives the wrong term http://code.google.com/p/sympy/issues/detail?id=2591 This is actually not a bug, because in the first case x > t, but in the other t > x: In [1]: f = Poly

Re: Issue 2589 in sympy: Implement tab completion in SymPy Live

2011-07-22 Thread sympy
Comment #2 on issue 2589 by asmeurer: Implement tab completion in SymPy Live http://code.google.com/p/sympy/issues/detail?id=2589 I applied this change: diff --git a/static/live-core.js b/static/live-core.js index 381b44f..1148063 100644 --- a/static/live-core.js +++ b/static/live-core.js @@ -4

Issue 2593 in sympy: Make Enter the default submission button at SymPy Live

2011-07-22 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium Live New issue 2593 by asmeurer: Make Enter the default submission button at SymPy Live http://code.google.com/p/sympy/issues/detail?id=2593 I don't know why Shift-Enter is the default submission button at SymPy Live (some

Issue 2594 in sympy: Better handling of multi-line statements at SymPy Live

2011-07-22 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium Live New issue 2594 by asmeurer: Better handling of multi-line statements at SymPy Live http://code.google.com/p/sympy/issues/detail?id=2594 If you enter "def f(x):" at SymPy Live and click "Evaluate", you get a SyntaxErro

Issue 2595 in sympy: Problems with SymPy Live and Opera

2011-07-22 Thread sympy
Status: Accepted Owner: asmeurer Labels: Type-Defect Priority-Medium Live New issue 2595 by asmeurer: Problems with SymPy Live and Opera http://code.google.com/p/sympy/issues/detail?id=2595 I don't know how many of these are fixable (does anyone even use Opera?) but here are some problems I no

Re: Issue 2589 in sympy: Implement tab completion in SymPy Live

2011-07-22 Thread sympy
Comment #3 on issue 2589 by asmeurer: Implement tab completion in SymPy Live http://code.google.com/p/sympy/issues/detail?id=2589 By the way, do you follow all the issue tracker updates, or do you want me to CC you on the Live issues (you can also set yourself up to be auto-CC'd on all issue

Re: Issue 2589 in sympy: Implement tab completion in SymPy Live

2011-07-22 Thread sympy
Comment #4 on issue 2589 by matt...@gmail.com: Implement tab completion in SymPy Live http://code.google.com/p/sympy/issues/detail?id=2589 I follow everything. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this group, send emai

Re: Issue 1233 in sympy: fix the rest of jython bugs

2011-07-22 Thread sympy
Comment #16 on issue 1233 by asmeurer: fix the rest of jython bugs http://code.google.com/p/sympy/issues/detail?id=1233 I've created a ticket on the Jython bug tracker at the request of one of the Jython devs. You can follow it at http://bugs.jython.org/issue1777. -- You received this messa

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Updates: Cc: ondrej.c...@gmail.com Comment #2 on issue 2590 by asmeurer: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 Ondrej wrote this function, if I remember correctly. So let's see what h

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #3 on issue 2590 by ondrej.c...@gmail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 It should definitely return Float. I am not sure exactly at the moment, where this "float" is coming

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #4 on issue 2590 by ness...@googlemail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 Well there is a line root = complex(root).real which I guess is where the float comes from. Yes I

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #5 on issue 2590 by ondrej.c...@gmail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 Good question. I think that the scipy method should probably return floats --- since it just calls sc

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #6 on issue 2590 by ness...@googlemail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 What about method='mpmath'? This works now btw with the mpmath version in sympy. Should method='symp

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #7 on issue 2590 by ondrej.c...@gmail.com: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 If mpmath provides an actual function for this, and if this function is faster (and more robust) than

Re: Issue 2594 in sympy: Better handling of multi-line statements at SymPy Live

2011-07-22 Thread sympy
Comment #1 on issue 2594 by matt...@gmail.com: Better handling of multi-line statements at SymPy Live http://code.google.com/p/sympy/issues/detail?id=2594 Python/IPython can take advantage of `code.compile_command()`, which works almost exactly as built-in `compile()`, but returns None if t

Re: Issue 2590 in sympy: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats

2011-07-22 Thread sympy
Comment #8 on issue 2590 by asmeurer: jn_zeros in functions/special/bessel.py should return SymPy Floats, not Python floats http://code.google.com/p/sympy/issues/detail?id=2590 Also consider making symbolic versions of this and getting the Float from .evalf() (or automatically returning an

Re: Issue 2592 in sympy: Automatic evalf considered harmful

2011-07-22 Thread sympy
Comment #1 on issue 2592 by asmeurer: Automatic evalf considered harmful http://code.google.com/p/sympy/issues/detail?id=2592 Note that you can pass a subs argument to evalf(), which is supposed to handle this sort of thing better. -- You received this message because you are subscribed to t

Re: Issue 635 in sympy: implement robust sandboxed testing either in py.test or nosetests

2011-07-22 Thread sympy
Updates: Status: Fixed Comment #10 on issue 635 by asmeurer: implement robust sandboxed testing either in py.test or nosetests http://code.google.com/p/sympy/issues/detail?id=635 This is now done using tox. -- You received this message because you are subscribed to the Google Groups

Re: Issue 2594 in sympy: Better handling of multi-line statements at SymPy Live

2011-07-22 Thread sympy
Comment #2 on issue 2594 by asmeurer: Better handling of multi-line statements at SymPy Live http://code.google.com/p/sympy/issues/detail?id=2594 Ah, you're right. I forgot about things like automatic continuation with unclosed parentheses. I think the solution you suggest would work. W

Re: Issue 2026 in sympy: Exact, algebraic, and integer_power substitution

2011-07-22 Thread sympy
Comment #25 on issue 2026 by asmeurer: Exact, algebraic, and integer_power substitution http://code.google.com/p/sympy/issues/detail?id=2026 Your function is good, except it uses "in", so I think it really needs issue 2389 to be fixed to be as semantically dumb as possible. Otherwise, I t

Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Status: New Owner: Labels: Type-Defect Priority-Medium New issue 2596 by rdmoo...@gmail.com: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 C:\Windows\System32>python Python 3.2.1 (default, Jul 10 2011, 20:02:51) [MSC v.1500 64

Re: Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Updates: Status: Started Labels: Python3 Comment #1 on issue 2596 by asmeurer: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 This is fixed in https://github.com/sympy/sympy/pull/495, and I believe a patch was also

Re: Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Updates: Labels: NeedsReview Comment #2 on issue 2596 by asmeurer: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 (No comment was entered for this change.) -- You received this message because you are subscribed to the Goog

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

2011-07-22 Thread sympy
Comment #8 on issue 2389 by asmeurer: Semantic inconsistency between Basic.__contains__ and Tuple.__contains__ http://code.google.com/p/sympy/issues/detail?id=2389 I talked to Mateusz about this at SciPy, and he thinks, and I agree, that a in b should be equivalent to a in b.args. in other

Re: Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Comment #3 on issue 2596 by rdmoo...@gmail.com: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 @asmeurer OK, but http://mpmath.googlecode.com/svn/trunk/doc/build/setup.html#running-tests tells me "If any test fails, please send

Re: Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Updates: Cc: fredrik@gmail.com Comment #4 on issue 2596 by asmeurer: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 That must be a typo, or else outdated. I'll CC Fredrik so he knows. -- You received this message becau

Re: Issue 2596 in sympy: mpmath.runtests() - test_hash in test_basic_ops failed

2011-07-22 Thread sympy
Comment #5 on issue 2596 by vlada.pe...@gmail.com: mpmath.runtests() - test_hash in test_basic_ops failed http://code.google.com/p/sympy/issues/detail?id=2596 Yeah, this is fixed by my pull request 495. It's also fixed upstream at: http://code.google.com/p/mpmath/source/detail?r=1238 @the

Re: Issue 1200 in sympy: tests -- fix minor glitch

2011-07-22 Thread sympy
Updates: Status: Fixed Comment #16 on issue 1200 by vlada.pe...@gmail.com: tests -- fix minor glitch http://code.google.com/p/sympy/issues/detail?id=1200 The above patches by Vinzent are in SymPy for a long time already. Unfortunately we seem to have edited out the original issue, b

Re: Issue 1328 in sympy: improvements to our bin/test framework

2011-07-22 Thread sympy
Updates: Status: WontFix Comment #2 on issue 1328 by vlada.pe...@gmail.com: improvements to our bin/test framework http://code.google.com/p/sympy/issues/detail?id=1328 I think this is not relevant anymore: * I don't think parallel runs are that important. If the only concern is to

Re: Issue 1200 in sympy: tests -- fix minor glitch

2011-07-22 Thread sympy
Comment #17 on issue 1200 by asmeurer: tests -- fix minor glitch http://code.google.com/p/sympy/issues/detail?id=1200 Based on comment 1, I'd say the original issue was something like "don't run xfailed tests by default," which I am also -1 to. -- You received this message because you are su

Re: Issue 1200 in sympy: tests -- fix minor glitch

2011-07-22 Thread sympy
Comment #18 on issue 1200 by asmeurer: tests -- fix minor glitch http://code.google.com/p/sympy/issues/detail?id=1200 Yeah, that was it. See http://groups.google.com/group/sympy-issues/browse_thread/thread/b96b5daebd29f0d4/8b0b9f793ee6a884?lnk=gst&q=issue+1200#8b0b9f793ee6a884. -- You recei

Re: Issue 2341 in sympy: The test utility should clear the cache.

2011-07-22 Thread sympy
Updates: Status: Fixed Comment #4 on issue 2341 by vlada.pe...@gmail.com: The test utility should clear the cache. http://code.google.com/p/sympy/issues/detail?id=2341 Huh. Not sure how I missed this issue and the patch. The same thing was done for issue #2585: "Tests take too much

Re: Issue 1328 in sympy: improvements to our bin/test framework

2011-07-22 Thread sympy
Comment #3 on issue 1328 by asmeurer: improvements to our bin/test framework http://code.google.com/p/sympy/issues/detail?id=1328 Parallel tests might be nice, though actually I don't think we really need them. It's better to just run multiple tests from different Pythons at once. It would

Re: Issue 2341 in sympy: The test utility should clear the cache.

2011-07-22 Thread sympy
Updates: Cc: Vinzent.Steinberg Comment #5 on issue 2341 by asmeurer: The test utility should clear the cache. http://code.google.com/p/sympy/issues/detail?id=2341 -C should turn the cache off completely (see issue 2459). Vinzent, do you still have the same worries about turning off t

Re: Issue 1200 in sympy: tests -- fix minor glitch

2011-07-22 Thread sympy
Updates: Status: WontFix Comment #19 on issue 1200 by vlada.pe...@gmail.com: tests -- fix minor glitch http://code.google.com/p/sympy/issues/detail?id=1200 Oh, I see. Anyway, xfails are more obvious now to new developers so I still consider this finished. I'm changing it to wontfix,

Re: Issue 1192 in sympy: tests passes using sympy's test runner but fails with py.test

2011-07-22 Thread sympy
Updates: Status: Fixed Comment #6 on issue 1192 by vlada.pe...@gmail.com: tests passes using sympy's test runner but fails with py.test http://code.google.com/p/sympy/issues/detail?id=1192 This is no longer relevant. Once/if we port back to using py.test new issues should be opened

Re: Issue 1867 in sympy: plotting tests open Python rocket ship application in Mac OS X

2011-07-22 Thread sympy
Comment #5 on issue 1867 by asmeurer: plotting tests open Python rocket ship application in Mac OS X http://code.google.com/p/sympy/issues/detail?id=1867 Yes, this is definitely still an issue. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group

Re: Issue 1328 in sympy: improvements to our bin/test framework

2011-07-22 Thread sympy
Comment #4 on issue 1328 by vlada.pe...@gmail.com: improvements to our bin/test framework http://code.google.com/p/sympy/issues/detail?id=1328 It's actually possible to run Tox in parallel, you just have to do it manually (-e py25 in one shell, -e py26 in another). It's not perfect (eg. s

Re: Issue 309 in sympy: plotting on macos x freezes

2011-07-22 Thread sympy
Updates: Status: Accepted Comment #13 on issue 309 by asmeurer: plotting on macos x freezes http://code.google.com/p/sympy/issues/detail?id=309 Now that we've unbundled Pyglet, this is an issue again with Pyglet 1.1.4. I don't know if it's a SymPy issue or a Pyglet issue, though. --

Re: Issue 309 in sympy: plotting on macos x freezes

2011-07-22 Thread sympy
Comment #14 on issue 309 by asmeurer: plotting on macos x freezes http://code.google.com/p/sympy/issues/detail?id=309 Ah, it's because the patch that fixed it, https://github.com/sympy/sympy/pull/279, modified pyglet itself. So we need to manually apply this fix to Pyglet then. -- You rec

Re: Issue 309 in sympy: plotting on macos x freezes

2011-07-22 Thread sympy
Comment #15 on issue 309 by asmeurer: plotting on macos x freezes http://code.google.com/p/sympy/issues/detail?id=309 Well, setting pyglet.options['shadow_window'] to False does not solve the problem in Mac OS X. So I don't know what to do. -- You received this message because you are subsc

Re: Issue 1328 in sympy: improvements to our bin/test framework

2011-07-22 Thread sympy
Comment #5 on issue 1328 by asmeurer: improvements to our bin/test framework http://code.google.com/p/sympy/issues/detail?id=1328 Well, doing it automatically would be nice. I'll ask on the tox mailing list to see what they think. -- You received this message because you are subscribed to t

Re: Issue 1594 in sympy: bin/test --random should also shuffle tests inside a file

2011-07-22 Thread sympy
Updates: Cc: asmeurer Comment #4 on issue 1594 by vlada.pe...@gmail.com: bin/test --random should also shuffle tests inside a file http://code.google.com/p/sympy/issues/detail?id=1594 Do we still want this? I know that at least some files declare some helper functions across the who

Re: Issue 1594 in sympy: bin/test --random should also shuffle tests inside a file

2011-07-22 Thread sympy
Comment #5 on issue 1594 by asmeurer: bin/test --random should also shuffle tests inside a file http://code.google.com/p/sympy/issues/detail?id=1594 I'm not sure if it's worth it. We would have to do an audit of the test files to see what sort of things we are doing that this would disallo