Message6578

Author asmeurer
Recipients asmeurer
Date 2011-07-22.20:34:50
SpamBayes Score 2.203325e-08
Marked as misclassified No
Message-id <1311366891.28.0.422959032741.issue1777@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-07-22 20:34:51asmeurersetrecipients: + asmeurer
2011-07-22 20:34:51asmeurersetmessageid: <1311366891.28.0.422959032741.issue1777@psf.upfronthosting.co.za>
2011-07-22 20:34:51asmeurerlinkissue1777 messages
2011-07-22 20:34:50asmeurercreate