#5756: [with patch; needs review] improve coverage of rings/morphism.pyx (and
fix
5 bugs in morphism.pyx)
-------------------------+--------------------------------------------------
Reporter: was | Owner: mabshoff
Type: enhancement | Status: new
Priority: major | Milestone: sage-3.4.1
Component: doctest | Keywords:
-------------------------+--------------------------------------------------
Comment(by was):
BUGS FOUND:
5. im_gens() returns a mutable list, which makes it trivial to *break* a
morphism after it is created:
{{{
sage: R.<x,y> = QQ[]
sage: f = R.hom([x,x+y])
sage: f(x)
x
sage: f.im_gens()[0] = 5
sage: f.im_gens()
[5, x + y]
sage: f(x)
5
}}}
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5756#comment:3>
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
-~----------~----~----~----~------~----~------~--~---