[pypy-dev] works in python2.4, fails in pypy

Armin Rigo arigo at tunes.org
Fri Aug 29 18:00:55 CEST 2008


Hi Ondrej,

On Mon, Aug 25, 2008 at 04:20:40PM +0200, Ondrej Certik wrote:
>     class Basic(AssumeMeths):
> TypeError: Error when calling the metaclass bases
>     mro() returned base with unsuitable layout ('Basic')
> 
> So this suggests that sympy code is not standard.

That's obscure.  It probably points to a bug in Jython and IronPython,
or just some feature that is really obscure but that PyPy implements
like CPython by chance.

I fixed the multiple inheritance bug as well as the bug shown by the
@threaded() decorator.  Since rev 57656, pypy-c can import sympy.  (I
didn't try to do anything with it, though.)


A bientot,

Armin.



More information about the Pypy-dev mailing list