#12955: Move __len__ and __getitem__ from Parent to FiniteEnumeratedSets
-------------------------------------+------------------------
Reporter: nthiery | Owner: nthiery
Type: enhancement | Status: new
Priority: major | Milestone: sage-6.4
Component: categories | Resolution:
Keywords: days38 | Merged in:
Authors: Nicolas M. ThiƩry | Reviewers:
Report Upstream: N/A | Work issues:
Branch: | Commit:
Dependencies: #12957 | Stopgaps:
-------------------------------------+------------------------
Description changed by vdelecroix:
Old 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__.
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 (see #12913 and #12957)
In the mean time, #12956 provides a workaround for `__getitem__`.
--
--
Ticket URL: <http://trac.sagemath.org/ticket/12955#comment:8>
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 unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.