On Mon, Aug 25, 2008 at 10:23 AM, Maciej Fijalkowski <[EMAIL PROTECTED]> wrote: > Works for me: > > [EMAIL PROTECTED]:~$ pypy-c > Python 2.4.1 (pypy 1.0.0 build 57237) on linux2 > Type "help", "copyright", "credits" or "license" for more information. > Welcome to rlcompleter2 0.96 > for nice experiences hit <tab> multiple times > And now for something completely different: ``"peephope" optimizations are > what > an optimistic Compiler uses'' >>>>> import sympy >>>>>
Hm, doesn't seem to work for me: $ svn co http://codespeak.net/svn/pypy/dist pypy-dist $ cd sympy/ $ python ~/repos/pypy-dist/pypy/bin/py.py faking <type 'module'> PyPy 1.0.0 in StdObjSpace on top of Python 2.5.2 (startuptime: 10.83 secs) >>>> import sympy Traceback (application-level): File "<inline>", line 1 in <interactive> import sympy File "/home/ondra/sympy/sympy/__init__.py", line 16 in <module> from sympy.core import * File "/home/ondra/sympy/sympy/core/__init__.py", line 13 in <module> from function import Lambda, WildFunction, Derivative, diff, FunctionClass, \ File "/home/ondra/sympy/sympy/core/function.py", line 361 in <module> class WildFunction(Function, Atom): File "/home/ondra/sympy/sympy/core/function.py", line 68 in __new__ return type.__new__(cls, name, bases, attrdict) TypeError: instance layout conflicts in multiple inheritance >>>> > > If you have old pypy build try pypy-c --oldstyle, otherwise you can > retranslate pypy. Old pypy + oldstyle doesn't seem to help: $ pypy --oldstyle Python 2.4.1 (pypy 1.0.0 build 55235) on linux2 Type "help", "copyright", "credits" or "license" for more information. ``I'm sorry, could you please not agree with the cat as well?'' >>>> import sympy Traceback (most recent call last): File "<console>", line 1, in <interactive> File "/home/ondra/sympy/sympy/__init__.py", line 16, in <module> from sympy.core import * File "/home/ondra/sympy/sympy/core/__init__.py", line 13, in <module> from function import Lambda, WildFunction, Derivative, diff, FunctionClass, \ File "/home/ondra/sympy/sympy/core/function.py", line 361, in <module> class WildFunction(Function, Atom): File "/home/ondra/sympy/sympy/core/function.py", line 68, in __new__ return type.__new__(cls, name, bases, attrdict) TypeError: instance layout conflicts in multiple inheritance >>>> So now I am trying to compile pypy-svn, but I doubt it will work if it doesn't work on top of python. Which sympy version are you using? Ondrej _______________________________________________ [email protected] http://codespeak.net/mailman/listinfo/pypy-dev
