On Fri, Oct 10, 2008 at 12:12 AM, Philip Jenvey <[EMAIL PROTECTED]> wrote:
>
> On Oct 8, 2008, at 7:29 PM, Philip Jenvey wrote:
>
>>
>> On Oct 8, 2008, at 5:58 PM, Ondrej Certik wrote:
>>
>>> Here is how to play with it (I tried jython latest alpha 3):
>>>
>>> $ git clone git://git.sympy.org/sympy.git
>>> $ cd sympy
>>> $ ~/ext/jython2.5a3/jython -c "import sympy"
>>> Traceback (most recent call last):
>>> File "<string>", line 1, in <module>
>>> File "sympy/__init__.py", line 16, in <module>
>>> from sympy.core import *
>>> File "sympy/core/__init__.py", line 4, in <module>
>>> from basic import Basic, S, C, sympify
>>> File "sympy/core/basic.py", line 236, in <module>
>>> class Basic(AssumeMeths):
>>> TypeError: Error when calling the metaclass bases
>>> mro() returned base with unsuitable layout ('Basic')
>>>
>>
>> Definitely log a ticket for this one.
>
> Actually, don't bother logging these. I've got this TypeError figured out.
>
> The NPE you posted is also still present in trunk, but I've about got a fix
> for that one. The compiler isn't handling lambda within a decorator's
> arglist correctly, the offending line was in numbers.py:
>
> @Memoizer((int, long), return_value_converter = lambda d: d.copy())
>
> With those two squashed I think I've unearthed some more odd TypeErrors.
I just found your blog post about this fix:
http://dunderboss.blogspot.com/2008/10/debugging-jython-compiler.html
nice job! When I get to it, I'll try it again and try to isolate the
remaining bugs if there are any.
Ondrej
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sympy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sympy?hl=en
-~----------~----~----~----~------~----~------~--~---