bpo-33462: Add __reversed__ to dict and dict views#6827
bpo-33462: Add __reversed__ to dict and dict views#6827methane merged 26 commits intopython:masterfrom
Conversation
|
Hello, and thanks for your contribution! I'm a bot set up to make sure that the project can legally accept your contribution by verifying you have signed the PSF contributor agreement (CLA). Unfortunately we couldn't find an account corresponding to your GitHub username on bugs.python.org (b.p.o) to verify you have signed the CLA (this might be simply due to a missing "GitHub Name" entry in your b.p.o account settings). This is necessary for legal reasons before we can look at your contribution. Please follow the steps outlined in the CPython devguide to rectify this issue. When your account is ready, please add a comment in this pull request Thanks again to your contribution and we look forward to looking at it! |
|
@remilapeyre Thank you so much for your PR but could you rename your PR with this format: "bpo-NNNN: TITLE". Thank you |
|
and I forgot one thing, you need to have the CLA for a review. Thank you |
|
@matrixise Thanks I added my GH username on b.p.o so the CLA situation should now be resolved. |
|
@remilapeyre There's a slight typo in the pull request title. It should be |
|
@selik I updated the tests, thanks. |
|
Excuse me, I don't have time to final review before merge in this month. |
remilapeyre
left a comment
There was a problem hiding this comment.
That's not a problem, after all I can live with reversed(iter(d.values())). Thanks for your help so far.
|
@methane Would the PR be acceptable with the two changes you asked for? |
Dictionaries are officialy sorted since Python 3.7 and sorted usage in tests can now be removed as the order is deterministic.
|
A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated. Once you have made the requested changes, please leave a comment on this pull request containing the phrase |
|
I have made the requested changes; please review again |
|
Thanks for making the requested changes! @methane: please review the changes made to this pull request. |
|
Please resolve conflict. |
|
@methane the conflicts should now be resolved |
bpo-33462 - Add
__reverse__todictSee https://bugs.python.org/issue33462
https://bugs.python.org/issue33462