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

Refs #32355 -- Removed unnecessary list() calls before reversed() on dictviews. #15290

Merged
merged 1 commit into from Jan 7, 2022

Conversation

felixxm
Copy link
Member

@felixxm felixxm commented Jan 7, 2022

Dict and dictviews are iterable in reversed insertion order using reversed() in Python 3.8+, see python/cpython@6531bf6.

…dictviews.

Dict and dictviews are iterable in reversed insertion order using
reversed() in Python 3.8+.
@felixxm felixxm requested a review from a team January 7, 2022 12:31
Copy link
Member

@hramezani hramezani left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @felixxm 👍

@felixxm
Copy link
Member Author

felixxm commented Jan 7, 2022

Thanks for checking 👍

@felixxm felixxm merged commit 7346c28 into django:main Jan 7, 2022
@felixxm felixxm deleted the refs-32355-dictview branch January 7, 2022 15:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants