#12955: Move __len__ and __getitem__ from Parent to FiniteEnumeratedSets
-------------------------------------+--------------------------------------
       Reporter:  nthiery            |         Owner:  nthiery 
           Type:  enhancement        |        Status:  new     
       Priority:  major              |     Milestone:  sage-5.1
      Component:  categories         |    Resolution:          
       Keywords:  days38             |   Work issues:          
Report Upstream:  N/A                |     Reviewers:          
        Authors:  Nicolas M. ThiƩry  |     Merged in:          
   Dependencies:  #12957             |      Stopgaps:          
-------------------------------------+--------------------------------------
Changes (by nthiery):

  * dependencies:  => #12957


Old description:

> Title says it all. The point is that with the current implementation in
> Parent, it is impossible to override those methods with something more
> interesting from lower categories. This long awaited change should be
> possible now that all(?) finite enumerated sets in Sage should be in
> FiniteEnumeratedSets.

New description:

 Title says it all. The point is that with the current implementation
 prevents categories to override those methods with something more
 interesting. Alas, the attached patch is not yet ready for
 consumption since there still remains finite (enumerated) sets in Sage
 that are not in FiniteSets of FiniteEnumeratedSets (#)

 In the mean time, #12956 provides a workaround for __getitem__.

--

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

Reply via email to