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

feed[:] != feed[:feed.count()] !? #225

Open
nkprince007 opened this issue Dec 5, 2018 · 3 comments
Open

feed[:] != feed[:feed.count()] !? #225

nkprince007 opened this issue Dec 5, 2018 · 3 comments

Comments

@nkprince007
Copy link

The implementation of __getitem__ in BaseFeed class has some bug.
It's not returning the last value when [:] is used. And I had to use feed[:feed.count()] to get the entire list. This is very unlike how a python list works.

@tbarbugli
Copy link
Collaborator

@nkprince007 good spot! Feel free to make a PR for this :)

@MWMWM
Copy link

MWMWM commented Apr 11, 2019

Hi,
I also experienced this issue while invoking unfollow_feed (

def unfollow_feed(self, feed, source_feed):
)

@nkprince007 If You haven't created fix for that yet I will try to do this in the evening, if You don't mind

@MWMWM
Copy link

MWMWM commented Apr 13, 2019

I turns out that in my case the problem was with https://github.com/jamesls/fakeredis - with 'real' redis it works like a charm :)

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

No branches or pull requests

3 participants