#12510: Add consistency tests for __nonzero__ in TestSuite.
----------------------------------+-----------------------------------------
Reporter: hivert | Owner: hivert
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-5.6
Component: categories | Resolution:
Keywords: | Work issues:
Report Upstream: N/A | Reviewers:
Authors: Florent Hivert | Merged in:
Dependencies: | Stopgaps:
----------------------------------+-----------------------------------------
Comment (by ncohen):
Helloooooooo !!
Well, as far as I understand this code I think that it is good to go,
except for this thing I just told you about : the new content of
QuotientRingElement.__nonzero__ creates this problem
{{{
sage: a = e.lift()
sage: any([e])
True
sage: b = e.lift()
# Now b and a are not necessarily equal anymore
}}}
If you think that this is not a problem after all, then you can set this
ticket to `positive_review`.
Have fuuuuuuuuuuuuuuuuuuuuuuuunnn !!
Nathann
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/12510#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
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.