Skip to content
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

Correct and enhance collection slicing #110

Merged
merged 3 commits into from
Jan 29, 2018

Conversation

twidi
Copy link
Collaborator

@twidi twidi commented Feb 20, 2017

Some slicing were not managed at all, retrieving the wrong number of
data.
It is now corrected, with also more cases where we try to limit the data
returned by redis
To be sure that the data is always correctly returned, in the tests we
compare the result of slicing a collection to the same slicing of a
normal python list. Same for indexing (both in __getitem__)

PS: depnds on #109

@twidi twidi added this to the Version 1 milestone Feb 20, 2017
@twidi twidi mentioned this pull request Feb 20, 2017
11 tasks
@twidi twidi force-pushed the feature/twidi/correct-and-enhance-slicing branch from c429189 to 51d04c5 Compare February 20, 2017 09:09
@twidi twidi force-pushed the feature/twidi/correct-and-enhance-slicing branch from 51d04c5 to 3c6ea69 Compare March 4, 2017 16:24
@twidi
Copy link
Collaborator Author

twidi commented Jan 25, 2018

Auto-reviewed and approved

@twidi twidi force-pushed the feature/twidi/in__suffix_in_indexes branch from 688bfb0 to 1c0482c Compare January 29, 2018 09:38
@twidi twidi changed the base branch from feature/twidi/in__suffix_in_indexes to develop January 29, 2018 09:50
Some slicing were not managed at all, retrieving the wrong number of
data.
It is now corrected, with also more cases where we try to limit the data
returned by redis
To be sure that the data is always correctly returned, in the tests we
compare the result of slicing a collection to the same slicing of a
normal python list. Same for indexing (both in `__getitem__`)
Not supported in python 2.6 but now we support only python >=2.7
@twidi twidi force-pushed the feature/twidi/correct-and-enhance-slicing branch from 3c6ea69 to e21a27d Compare January 29, 2018 09:50
@twidi twidi merged commit e21a27d into develop Jan 29, 2018
@twidi twidi deleted the feature/twidi/correct-and-enhance-slicing branch January 29, 2018 10:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant