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

Ondrej Certik ondrej at certik.cz
Fri Aug 29 21:11:31 CEST 2008

On Fri, Aug 29, 2008 at 6:00 PM, Armin Rigo <arigo at tunes.org> wrote:
> 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.

Yeah. We should try to fix sympy, so that we don't use obscure features.

> 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.)

Thanks for fixing it.


More information about the Pypy-dev mailing list