#12956: Let categories override the default implementation of __getitem__ in 
Parent
-------------------------------------+--------------------------------------
       Reporter:  nthiery            |         Owner:  nthiery 
           Type:  defect             |        Status:  new     
       Priority:  major              |     Milestone:  sage-5.1
      Component:  categories         |    Resolution:          
       Keywords:                     |   Work issues:          
Report Upstream:  N/A                |     Reviewers:          
        Authors:  Nicolas M. ThiƩry  |     Merged in:          
   Dependencies:                     |      Stopgaps:          
-------------------------------------+--------------------------------------
Description changed by nthiery:

Old description:

> Parent.__getitem__ should be moved to FiniteEnumeratedSets (#12955).
> Alas, this is not yet possible since too many finite enumerated sets in
> Sage are not in the FiniteEnumeratedSets category. In the meantime, this
> patch provides a workaround by asking Parent.__getitem__ to first try to
> call __getitem__ on its super class.

New description:

 Parent.__getitem__ should be moved to FiniteEnumeratedSets (#12955). Alas,
 this is not yet possible since too many finite enumerated sets in Sage are
 not in the FiniteEnumeratedSets category (see #12957). In the meantime,
 this patch provides a workaround by asking Parent.__getitem__ to first try
 to call __getitem__ on its super classes.

--

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