Author asmeurer
Recipients asmeurer
Date 2011-07-22.20:34:50
SpamBayes Score 2.20332e-08
Marked as misclassified No
Message-id <>
I asked about this on the mailing list.  SymPy ( 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/",
line 30, in <module>
   from sympy.core import *
 File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/",
line 8, in <module>
   from expr import Expr, AtomicExpr
 File "/Users/aaronmeurer/Documents/Python/sympy/sympy/sympy/core/",
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 (  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:// will get you the latest dev version of SymPy.
Date User Action Args
2011-07-22 20:34:51asmeurersetrecipients: + asmeurer
2011-07-22 20:34:51asmeurersetmessageid: <>
2011-07-22 20:34:51asmeurerlinkissue1777 messages
2011-07-22 20:34:50asmeurercreate