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). With it, we are down to 13 failures and 29 exceptions. I'm attaching the test output.

Note how most of the exceptions are either "TypeError: expected integer, got Zero object" somewhere in hyperexpand or "KeyError: 'inf'" in lambdify. The latter is due to lambdify not using the import_module infrastructure and importing NumPy directly. The former, I'm not so sure: the code is trying to pop the first element in a list (ie. the zeroth) and PyPy doesn't like that. We could just cast to int, but perhaps there's a more elegant solution.

The failures are probably going to be more tricky to fix, I didn't look at them yet.


[1] https://github.com/sympy/sympy/pull/625

Attachments:
        pypy.txt  48.0 KB

--
You received this message because you are subscribed to the Google Groups 
"sympy-issues" group.
To post to this group, send email to sympy-issues@googlegroups.com.
To unsubscribe from this group, send email to 
sympy-issues+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/sympy-issues?hl=en.

Reply via email to