>> > Is the bug with the Integers in sympy known? Or should I file a bug
>> > report for this?
>>
>> I didn't find an issue for it.  It should be very easy to fix.  We
>> just need to define __long__ on Number, which is similar to __int__
>> except it casts the result to a long first.
>
> Yes, that's pretty simple. I wonder why such simple thing doesn't work in
> SymPy.
>

Well, it's happened several times now that some simple thing like this
doesn't work because we don't have some __method__ from
http://docs.python.org/reference/datamodel.html implemented in Basic,
Expr, or whatever relevant subclass.  So I created
http://code.google.com/p/sympy/issues/detail?id=2817 for this.

I marked it for Code-In, but if you want to fix it, Andy, that would
also be great.

Aaron Meurer

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

Reply via email to