#10219: typo in rings/quotient_ring.py
-----------------------------------+----------------------------------------
Reporter: fwclarke | Owner: malb
Type: defect | Status: new
Priority: minor | Milestone: sage-4.6.1
Component: commutative algebra | Keywords: quotient ring integral domain
Author: | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
-----------------------------------+----------------------------------------
The attached patch corrects a typo in
`sage.rings.quotient_ring.QuotientRing_generic.is_integral_domain`
(missing parentheses). In addition, the filtering of attribute errors has
been removed. It is unnecessary because all ideals have the attribute
`is_prime`. In the presence of the typo it gave misleading results:
{{{
sage: R.<x,y> = QQ[]
sage: R.quo(x^2 - y).is_integral_domain()
True
sage: R.quo(x^2 - y).is_integral_domain(proof=False)
False
}}}
The docstring has been rewritten to mention the `proof` keyword, and the
doctests revised.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10219>
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.