#19040: rewrite Expression.__nonzero__()
-------------------------+-------------------------------------------------
Reporter: rws | Owner:
Type: | Status: new
enhancement | Milestone: sage-6.9
Priority: major | Resolution:
Component: | Merged in:
symbolics | Reviewers:
Keywords: | Work issues:
Authors: Ralf | Commit:
Stephan | 5f4ffc0b8929f971c649339ce451189ce6d8698d
Report Upstream: N/A | Stopgaps:
Branch: |
u/rws/19040-1 |
Dependencies: |
-------------------------+-------------------------------------------------
Changes (by rws):
* commit: adab9a7ea45475ab4c95b310280cda2d43848e48 =>
5f4ffc0b8929f971c649339ce451189ce6d8698d
* dependencies: #19256 =>
Comment:
It may not be possible to get the desired behaviour in the
`structure/parent.pyx` doctests, so we oblige `Parent.__contains__` by
throwing an exception if `lhs-rhs` contains inexact ring elements. This
way inclusion in those rings (i.e., `pi in CC == True`) is always
guaranteed as before.
----
New commits:
||[http://git.sagemath.org/sage.git/commit/?id=5f4ffc0b8929f971c649339ce451189ce6d8698d
5f4ffc0]||{{{19040: draft}}}||
--
Ticket URL: <http://trac.sagemath.org/ticket/19040#comment:23>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.