New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Move __len__ and __getitem__ from Parent to FiniteEnumeratedSets #12955
Comments
Preliminary patch |
This comment has been minimized.
This comment has been minimized.
Dependencies: #12957 |
comment:1
Attachment: trac_12955-move_getitem_len_out_of_parent-nt.patch.gz |
comment:6
Is there any concrete plan for this 3 year old ticket? |
This comment has been minimized.
This comment has been minimized.
Changed author from Nicolas M. Thiéry to none |
Branch: public/12955 |
Commit: |
Changed keywords from days38 to none |
comment:10
... a lot! |
comment:11
Please check #20902, related to this ticket. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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__
.Depends on #12957
CC: @sagetrac-sage-combinat @nathanncohen
Component: categories
Branch/Commit: public/12955 @
b6aeeb3
Issue created by migration from https://trac.sagemath.org/ticket/12955
The text was updated successfully, but these errors were encountered: