-
-
Notifications
You must be signed in to change notification settings - Fork 34.5k
bpo-33462: Add __reversed__ to dict and dict views #6827
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
Merged
Merged
Changes from all commits
Commits
Show all changes
26 commits
Select commit
Hold shift + click to select a range
8e82443
bpo-33462 - Add __reverse__ to dict
849c68b
Fix tests
effb4f2
Fix PEP7 issues
3304359
Add __reversed__ to dict views
4406d43
Add Misc/NEWS.d entry
27c2423
Use non integer keys in tests
bf3a1d6
Add reversible dict iterators to _collections_abc
069d484
Fix starting position
5188e16
Remove exposed types
9ba4b2d
Remove useless registion ofdict from Reversible classes in collection…
18440c0
Refactor dictreviter_iternextXXXX functions
f8d65d9
Revert uneeded notes modifications
71c552a
revert _abc_collections
methane 084c0dc
Merge remote-tracking branch 'origin/master'
93737a0
Simplify branching logic in dictiter_new
d1d0e4d
Document reverse dict iterators
5017233
Call PyType_Ready on reversed dict iterator types
91e482f
Fix typo in WhatsNew
ba67132
Fix typo in documentation
b17f3ed
Update documentation
9333e26
Remove sorted usage from dict's tests
05941f8
Fix typo in dict documentation
c50dd93
Remove dict.__reversed__ examples
3f4feca
Fix coding style
2e2cb00
Clean documentation
1c3313b
Merge remote-tracking branch 'origin/master'
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1 change: 1 addition & 0 deletions
1
Misc/NEWS.d/next/Core and Builtins/2018-05-23-17-18-02.bpo-33462.gurbpbrhe.rst
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1 @@ | ||
| Make dict and dict views reversible. Patch by Rémi Lapeyre. |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.