#11125: Change .list() to return an immutable object in enumerated sets.
-----------------------------+----------------------------------------------
   Reporter:  hivert         |       Owner:  hivert            
       Type:  enhancement    |      Status:  new               
   Priority:  major          |   Milestone:                    
  Component:  combinatorics  |    Keywords:  list EnumeratedSet
     Author:                 |    Upstream:  N/A               
   Reviewer:                 |      Merged:                    
Work_issues:                 |  
-----------------------------+----------------------------------------------
 Currently, in enumerated sets, the method {{{.list()}}} returns a standard
 mutable python list. This is unfortunate because, even if we use caching,
 we need a new copy of the list to make sure that the user doesn't change
 the cached list. This copy is made, even if the user don't change the
 returned list. The good way of resolving this problem must be discussed
 further but I nevertheless create the ticket for reference.

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/11125>
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.

Reply via email to