#10938: Add subset and superset methods to Sage's finite sets
(Set_object_enumerated)
---------------------------------+------------------------------------------
Reporter: nthiery | Owner: sage-combinat
Type: enhancement | Status: needs_review
Priority: major | Milestone: sage-4.7
Component: combinatorics | Keywords:
Author: Nicolas M. ThiƩry | Upstream: N/A
Reviewer: | Merged:
Work_issues: |
---------------------------------+------------------------------------------
Changes (by nthiery):
* status: new => needs_review
* milestone: => sage-4.7
Comment:
Hi Jason!
Replying to [comment:1 jbandlow]:
> One point: I think these should be called is_subset and is_superset for
consistency with the most of the other is_* methods throughout sage. I
realize that Python sets use issubset and issuperset, but I think the
underscore makes the methods easier to read in the long lists that tend to
come up with tab completion on sage objects. What do you think?
Yeah, that's annoying. However, my feeling is that compatibility with
Python's sets should have priority, in particular so that one could
use them a bit more interchangeably (e.g. plug a Sage Set in code that
expects a sage set).
Cheers,
Nicolas
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/10938#comment:2>
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.