On Nov 26, 2007, at 10:40 AM, Ondrej Certik wrote:

> On Nov 26, 2007 7:36 PM, Robert Bradshaw  
> <[EMAIL PROTECTED]> wrote:
>>
>> I think the code here should simply be
>>
>>          330         if PY_TYPE_CHECK(xp, type) or PY_TYPE_CHECK(yp,
>> type):
>>         331                 if hasattr(x, "_sage_") and hasattr(y,  
>> "_sage_"):
>>         332                     return  canonical_coercion_c(x._sage_
>> (),y._sage_())
>
> That was my original patch, as seen here:
>
> http://sagetrac.org/sage_trac/attachment/ticket/1189/sympy.patch
>
> and it doesn't work, because sometimes SAGE puts "x=5" and
> "y=something else" in, and expects to receive a TypeError, otherwise
> it segfaults.
>
> That's why the workaround.

I'm not seeing clearly what the problem is, could you please clarify  
some more. Thanks.

- Robert



--~--~---------~--~----~------------~-------~--~----~
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/sage-devel
URLs: http://sage.scipy.org/sage/ and http://modular.math.washington.edu/sage/
-~----------~----~----~----~------~----~------~--~---

Reply via email to