#11125: Change .list() to return an immutable object in enumerated sets.
--------------------------------------+-------------------------------------
Reporter: hivert | Owner: hivert
Type: enhancement | Status: new
Priority: major | Milestone:
Component: combinatorics | Resolution:
Keywords: list EnumeratedSet | Work issues:
Report Upstream: N/A | Reviewers:
Authors: | Merged in:
Dependencies: | Stopgaps:
--------------------------------------+-------------------------------------
Comment (by vbraun):
+1 from me ;-)
Just to repeat what I said on sage-devel: List can be understood as
"Python list", but also as as the English verb for "series of records". In
the latter sense it is perfectly fine to return a Python `tuple`. But if
you really can't live with the cognitive dissonance you can call it
`enumerate()` with an alias `list()`.
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11125#comment:1>
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.