From: Aaron M. <re...@bu...> - 2011-07-22 20:34:58
|
New submission from Aaron Meurer <asm...@gm...>: I asked about this on the mailing list. SymPy (sympy.org) does not import in Jython because of the following problem: Traceback (most recent call last): File "./bin/test", line 17, in <module> from sympy.utilities.runtests import test File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/__init__.py", line 30, in <module> from sympy.core import * File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/__init__.py", line 8, in <module> from expr import Expr, AtomicExpr File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/expr.py", line 1826, in <module> class AtomicExpr(Atom, Expr): TypeError: Error when calling the metaclass bases multiple bases have instance lay-out conflict See the issue in our issue tracker for more information (http://code.google.com/p/sympy/issues/detail?id=1233). You can also see there the git commit that first caused this problem, which adds __slots__ to some Mixin class and a class that inherits from it. We'd of course be willing to change the SymPy code to fix this, though we'd like to continue using __slots__ if possible. By the way, git clone git://github.com/sympy/sympy.git will get you the latest dev version of SymPy. ---------- messages: 6578 nosy: asmeurer severity: normal status: open title: Help getting SymPy working with Jython _______________________________________ Jython tracker <re...@bu...> <http://bugs.jython.org/issue1777> _______________________________________ |