I'm not sure whether it's sympy's fault or pypy's fault. It might be
that pypy is too strict about that.

Arguments look like this:

(Pdb++) bases[0].__mro__
(Function, <class 'sympy.core.basic.Basic'>, <class
'sympy.core.assumptions.AssumeMeths'>, <type 'object'>)
(Pdb++) bases[1].__mro__
(<class 'sympy.core.basic.Atom'>, <class 'sympy.core.basic.Basic'>,
<class 'sympy.core.assumptions.AssumeMeths'>, <type 'object'>)
(Pdb++) cls
<class 'sympy.core.function.FunctionClass'>
(Pdb++) cls.__mro__
(<class 'sympy.core.function.FunctionClass'>, <class
'sympy.core.basic.BasicMeta'>, <class 'sympy.core.basic.BasicType'>,
<type 'type'>, <type 'object'>)
(Pdb++)

And it seems that bases[0] and bases[1] are incompatible (why?)

On Mon, Aug 25, 2008 at 11:45 AM, Ondrej Certik <[EMAIL PROTECTED]> wrote:
> On Mon, Aug 25, 2008 at 11:19 AM, Maciej Fijalkowski <[EMAIL PROTECTED]> 
> wrote:
>> Ok, I can reproduce it with newer version of sympy. Not sure what's wrong 
>> yet.
>
> Exactly. That's what I wanted to ask you what's wrong. :)
>
> I think we are using some stupid hacks, but if you could enlighten me
> how to fix sympy so that it works on pypy, it'd be awesome.
>
> Ondrej
>
_______________________________________________
[email protected]
http://codespeak.net/mailman/listinfo/pypy-dev

Reply via email to