#5758: weird "hello" bug in homset coerce!
----------------------+-----------------------------------------------------
Reporter: was | Owner: robertwb
Type: defect | Status: new
Priority: major | Milestone: sage-3.4.1
Component: coercion | Keywords:
----------------------+-----------------------------------------------------
With a 100% clean sage-3.4.1.rc2:
{{{
wst...@sage:~/build/sage-3.4.1.rc2$ ./sage
----------------------------------------------------------------------
| Sage Version 3.4.1.rc2, Release Date: 2009-04-10 |
| Type notebook() for the GUI, and license() for information. |
----------------------------------------------------------------------
Loading Sage library. Current Mercurial branch is: ref
sage: Zmod(8).lift() == 1
init_coerce() for <class 'sage.categories.homset.Homset'>
---------------------------------------------------------------------------
ZeroDivisionError Traceback (most recent call
last)
/scratch/wstein/sage/temp/sage.math.washington.edu/4833/_scratch_wstein_sage_init_sage_0.py
in <module>()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/rings/integer.so in sage.rings.integer.Integer.__richcmp__
(sage/rings/integer.c:7457)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/element.so in
sage.structure.element.Element._richcmp (sage/structure/element.c:5714)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/coerce.so in
sage.structure.coerce.CoercionModel_cache_maps.canonical_coercion
(sage/structure/coerce.c:7434)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/coerce.so in
sage.structure.coerce.CoercionModel_cache_maps.coercion_maps
(sage/structure/coerce.c:9262)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/coerce.so in
sage.structure.coerce.CoercionModel_cache_maps.discover_coercion
(sage/structure/coerce.c:11046)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/parent.so in
sage.structure.parent.Parent.coerce_map_from
(sage/structure/parent.c:9337)()
/scratch/wstein/build/sage-3.4.1.rc2/local/lib/python2.5/site-
packages/sage/structure/parent.so in
sage.structure.parent.Parent.init_coerce (sage/structure/parent.c:3085)()
ZeroDivisionError: hello
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5758>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" 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/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---