Re: Issue 1026 in sympy: pypy doesn't run sympy

2013-02-25 Thread sympy
Comment #53 on issue 1026 by julien.r...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Note that due to bugs in previous versions of pypy, we require pypy 2.0.0-beta at least. -- You received this message because this project is configured to send all

Re: Issue 1026 in sympy: pypy doesn't run sympy

2013-02-25 Thread sympy
Updates: Status: Fixed Comment #52 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 PyPy has run SymPy just fine for a while now (since before the 0.7.2 release). -- You received this message because this project is conf

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-15 Thread sympy
Comment #51 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The "__len__ should return bool or integer" error was a PyPy bug and is fixed in their dev branch (see https://bugs.pypy.org/issue1235). -- You received this message b

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-14 Thread sympy
Comment #50 on issue 1026 by ronan.l...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 https://github.com/sympy/sympy/pull/1486 (BTW, it was trivial to find the source of the problem with a simple 'py.test --pdb sympy/integrals/' run with pypy) -- You

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-14 Thread sympy
Comment #49 on issue 1026 by ronan.l...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 All these match problems seem to have been created by PR #1477 [https://github.com/sympy/sympy/pull/1477]. -- You received this message because you are subscribed to

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-13 Thread sympy
Comment #48 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 It looks like a lot of those are related to match. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to this gro

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-13 Thread sympy
Comment #47 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Here's the latest pypy test run results, with the latest stable version of PyPy (1.9). Attachments: pypy_tests.txt 161 KB -- You received this message becaus

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-08-13 Thread sympy
Comment #46 on issue 1026 by julien.r...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 It would be worth revisiting these failures to check whether they got fixed after the latest runs of fixes involving hash randomization, which required sorting in q

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-05-26 Thread sympy
Comment #45 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 As the doctests show, most of these errors are about the ordering of the result. Now, the easy fix would be to just modify the tests to accept both variants, but pe

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-05-25 Thread sympy
Comment #44 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 And some doctest failures: __

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-05-25 Thread sympy
Comment #43 on issue 1026 by asmeu...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Here are the latest test failures, with the latest official release of PyPy (1.8). Attachments: pypy_test_failures.txt 3.5 KB -- You received this message be

Re: Issue 1026 in sympy: pypy doesn't run sympy

2012-02-11 Thread sympy
Updates: Labels: -PassedReview Comment #42 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Hi, the Piecewise failure seems to have been fixed somewhere (either the test was changed or PyPy can manage it now; regardless

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-10-10 Thread sympy
Comment #41 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The problem is p1 = Piecewise((1,Interval(0,1,False,True)),(0,True)) p2 = piecewise_fold(expand((1-x)*p1)) The issue is that Python gives In [4]: p2 Out[4]: ⎧-x + 1 fo

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-10-06 Thread sympy
Updates: Labels: -NeedsReview PassedReview Comment #40 on issue 1026 by matt...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 This pull request was merged. There is one more remaining test failure: $ pypy bin/test sympy/functions/elementary/tests

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-10-01 Thread sympy
Updates: Status: Started Labels: NeedsReview Comment #39 on issue 1026 by matt...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 I fixed almost all test failures under PyPy in https://github.com/sympy/sympy/pull/627. -- You received thi

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-30 Thread sympy
Updates: Labels: AlternatePython Comment #38 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Added a label AlternatePython for issues related to any alternate Python implementation, including PyPy, Jython, IronPython, etc., and add

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-30 Thread sympy
Comment #37 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The pull request is now in, and we also reported some bugs upstream (which got fixed btw, including the stuff Aaron noted in comment #35), so we should wait a day o

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-30 Thread sympy
Comment #36 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 There's also a handful of doctest failures. See the (upcoming) sympy-bot review on the pull request. -- You received this message because you are subscribed to the Google Group

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-30 Thread sympy
Comment #35 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Right. Python: from sympy import Integer a = range(10) a.pop(Integer(0)) 0 PyPy: from sympy import Integer a = range(10) a.pop(Integer(0)) Traceback (most recent call last):

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-30 Thread sympy
Comment #34 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Ok, I've submitted a new pull request[1] which disables NumPy in PyPy and also includes the three commits from Renato's pull request (which still didn't get in). Wi

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Comment #33 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 To me, this is a PyPy issue, not a SymPy issue. The JIT optimizations just don't do as well for highly object oriented stuff, like with metaclasses (or at least that's what I'm

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Comment #32 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Well, we also can't really ask people to test in PyPy if we have a lot of (known) errors; we should fix them first. I wouldn't mind doing this, as I said I will, bu

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Comment #31 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Yes, I noticed that too, there were a lot of new pypy incompatibilities introduced in the last months - which is a natural consequence of not running tests on pypy

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Comment #30 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Ah yes, you are right. Well, the errors are there now and they crash the test runner, so fixing that should be a priority. Other than that, I also get a lot more er

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Comment #29 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 I didn't. Initial numpy implementation (quite incomplete, as you see) was introduced in pypy 1.6, those tests were made with pypy 1.5 before 1.6 was released. --

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-09-08 Thread sympy
Updates: Cc: renato.c...@gmail.com Comment #28 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Renato, how did you handle the numpy-related errors? I get a whole lot of errors like these and they crash the test runner:

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-24 Thread sympy
Comment #27 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 pypy's pow() failure was fixed, let's wait for the next release. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-14 Thread sympy
Comment #26 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Inspecting Piecewise more closely, I think there are a lot of features that are missing. For instance, denesting Piecewise inside another Piecewise, simplification

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-13 Thread sympy
Comment #25 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 How would solving the issue of recognizing that the inner Piecewise is never reached solve the issue of arg order? Are you sure it wouldn't just solve it for this one specific P

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-13 Thread sympy
Comment #24 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The piecewise failure is due to the ordering of the expression args. The two sides of the assert equality are equivalent. We can test for both cases, or we can cano

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #23 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 In my branch now, we are down to 6 failures: 2 in mpmath, 1 in ode.constantsimp, 1 in piecewise and the others are the isprime one, that must be solved upstream, an

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #22 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Yes, I had to add the certificate to be able to use it. -- You received this message because you are subscribed to the Google Groups "sympy-issues" group. To post to

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #21 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The PyPy bugs site is giving me an SSL error (certificate not trusted). Do you get that too? -- You received this message because you are subscribed to the Google Groups "symp

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #20 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The Min() failure is actually a bug in the logic of MinMaxBase. I was able to reproduce it in CPython too - it wasn't triggered due to the ordering of the variables

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #19 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 The test_solve_polynomial1 failure is just a matter of the ordering of the solutions. solve() doesn't have a preferred order, so maybe we should convert both sides

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #18 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 I tracked down the isprime() failure to a bug in pypy's pow(). I reported it here: https://bugs.pypy.org/issue792 -- You received this message because you are sub

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-12 Thread sympy
Comment #17 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 That's interesting that PyPy doesn't enforce that, because we'd like to create an In object that lets you do In(x, Y) == x in Y (Y would be some Set object), but we can't in CPy

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-11 Thread sympy
Comment #16 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Next issue: a, b = symbols('a,b') s = Segment((0, a), (0, b)) assert Point(0, (a + b)/2) in s gives False in CPython, None in pypy. In this case, pypy is correct -

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-11 Thread sympy
Comment #15 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 I investigated a bit the exception in test_pickling, it's triggered by `BasicMeta("test")` and `BasicType("test")`. It looks like class A(type): pass A("test") w

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-07 Thread sympy
Comment #14 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 I've applied Ronan's patch enabling pytest on top of your patch (and pushed to [1]) and run py.test on the files you had errors in (as a rule they're more informati

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-06 Thread sympy
Comment #13 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Well, I can tell you the logcombine thing has come up before. I thought it was changed to use in, but I guess not. Anyway, it should be "assert logcombine(cos(-2*log(z)+b*log(

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-06 Thread sympy
Comment #12 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Failures attached (ran on my 1026 branch). With the bug in polys fixed (or at least worked around), there's only one exception raised and 9 failures. It took 722s,

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-06 Thread sympy
Comment #11 on issue 1026 by asmeurer: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Can you upload the test failures as an attachment to this issue? How long does it take to run the tests with CPython. I remember when I tried PyPy a while back that it was painf

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-06 Thread sympy
Comment #10 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 More good news: on master (9afeb7ee) and with pull request 480 I just submitted, the whole test suite runs under pypy with only 9 failures and 11 exceptions, in und

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-02 Thread sympy
Updates: Owner: vlada.pe...@gmail.com Comment #9 on issue 1026 by vlada.pe...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 This is good news (thanks for the Cc, too)! As per my timeline, I'll focus on Python 3 support first (and the assorted is

Re: Issue 1026 in sympy: pypy doesn't run sympy

2011-07-02 Thread sympy
Updates: Cc: vlada.pe...@gmail.com Comment #8 on issue 1026 by renato.c...@gmail.com: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 On master now (3c163b80), sympy is importable in pypy 1.5.0, and test('core') runs with only one (apparently trivial) error.

Issue 1026 in sympy: pypy doesn't run sympy

2008-11-12 Thread codesite-noreply
Issue 1026: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Comment #7 by ondrej.certik: Deferring for later. Issue attribute updates: Labels: -Milestone-Release0.6.3 -- You received this message because you are listed in the owner or CC fields of this issu

Issue 1026 in sympy: pypy doesn't run sympy

2008-10-08 Thread codesite-noreply
Issue 1026: pypy doesn't run sympy http://code.google.com/p/sympy/issues/detail?id=1026 Comment #6 by ondrej.certik: Current update here: http://groups.google.com/group/sympy/browse_thread/thread/7e57714248b4fde6 Note: the patch in the comment #1 doesn't help at all with the latest pypy, so t