Hi!

On 30 Mai, 14:16, simon.k...@uni-jena.de wrote:
...
>   sage: R._has_coerce_map_from(R)
>
> ---------------------------------------------------------------------------
>   TypeError                                 Traceback (most recent
> call last)
>
>   /home/SimonKing/.sage/temp/sage.math.washington.edu  /5548/
> _home_SimonKing__sage_init_sage_0.py in <module>()
>
>   TypeError: 'dict' object is not callable

Meanwhile I really wonder how this bug, that also exists in Sage 4.0,
does *not* break many doc tests. I think a method such as
_has_coerce_map_from should return True or False, but must not raise
an error. And of course, any ring has a coercion map to itself, namely
the identity. So, the answer should be True and not TypeError.

I made it ticket #6161, a blocker.

I had no time yet to look into the sources and produce a patch,
though.

Best regards,
    Simon

--~--~---------~--~----~------------~-------~--~----~
To post to this group, send email to sage-support@googlegroups.com
To unsubscribe from this group, send email to 
sage-support-unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/sage-support
URLs: http://www.sagemath.org
-~----------~----~----~----~------~----~------~--~---

Reply via email to