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
Replace __getslice__ with functionality in __getitem__ in several files #12041
Comments
Attachment: trac_12041_replace_getslice.patch.gz |
comment:2
I have been waiting for this for a long time. I would have done it myself but I don't have the know-how. I'll check you have done everything. I actually thought some of these bits were dead code. |
comment:4
Could you do these files as well:
|
comment:5
If it's okay I will do this later in another ticket. So it should be easier to review. BTW. these files don't contain any
|
comment:6
I would be OK with that. I confess I didn't manually check all the files. I think it is because they include the following file:polynomial_template.pxi which does have "slice". |
comment:7
The title of the ticket is replace getslice in several files, not "all files" so I am inclined to give this a positive review in that any work on this is good. But more work will be needed in this area. |
Reviewer: François Bissey |
Merged: sage-4.8.alpha3 |
__getslice__
has been deprecated for a long time in Python. This patch adds equivalent functionality to__getitem__
, which is where the functionality should be.CC: @kini
Component: build
Author: André Apitzsch
Reviewer: François Bissey
Merged: sage-4.8.alpha3
Issue created by migration from https://trac.sagemath.org/ticket/12041
The text was updated successfully, but these errors were encountered: