#8821: Adding a section on coercion to the tutorial (guided tour)
-----------------------------+----------------------------------------------
Reporter: SimonKing | Owner: mvngu
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.4.1
Component: documentation | Keywords: tutorial coercion
Author: Simon King | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------+----------------------------------------------
Comment(by leif):
Replying to [comment:6 SimonKing]:
> No, it doesn't:
> sage: GF(5)(1) != GF(2)(1)
> True
Then document the opposite (of what '''I''' stated) ;-)
(I thought this was said in some Sage documentation, but it seems I took
this assumption from Robert's statement:
"In Python, the convention is that == and != never raise an error, so
False is returned if coercion fails (the two domains are incompatible)."
in http://groups.google.com/group/sage-devel/msg/3ec75b62fcb3f295 and my
reply: http://groups.google.com/group/sage-devel/msg/2f2e69bfb8623a4a)
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/8821#comment:8>
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.