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
Py3 : database.oeis implement __getitem__ to replace __getslice__ #26704
Comments
This comment has been minimized.
This comment has been minimized.
Branch: u/vklein/develop |
Commit: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed commit from |
Changed branch from u/vklein/develop to none |
This comment has been minimized.
This comment has been minimized.
Branch: u/vklein/26704 |
Commit: |
comment:7
Please add documentation and doctests to the new |
comment:8
It would be the same doctests as those of What do you think is the most appropriate ? :
|
comment:9
either duplicate the doc or add a doctest for when the argument is not a slice but just one element |
comment:11
Replying to @fchapoton:
I ve done the second one. |
comment:12
manque une ligne vide en dessous de TESTS:: |
Branch pushed to git repo; I updated commit sha1. New commits:
|
comment:14
Replying to @fchapoton:
My bad. And my newest tests won't work in py2 as |
Branch pushed to git repo; I updated commit sha1. New commits:
|
Changed keywords from none to thursdaysbdx |
comment:17
Fixed |
Reviewer: Frédéric Chapoton |
comment:19
ok, thanks |
Changed branch from u/vklein/26704 to |
Fix database.oeis module for python3 :
__getitem__
method with forFancyTuple
object. It replace__getslice__
method in python3.As
__getslice__
is still defined in tuple in python 2.7 we still need a__getslice__
method inFancyTuple
to override it.__getslice__
is deprecated since python 2.6 and removed in python 3.xComponent: python3
Keywords: thursdaysbdx
Author: Vincent Klein
Branch/Commit:
7d03e29
Reviewer: Frédéric Chapoton
Issue created by migration from https://trac.sagemath.org/ticket/26704
The text was updated successfully, but these errors were encountered: