-
-
Notifications
You must be signed in to change notification settings - Fork 30.6k
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
Update language reference to specify that dict is insertion-ordered. #84060
Comments
As of 3.7 [1], dict is guaranteed to preserve insertion order: the insertion-order preservation nature of dict However, at least one key part of the language reference [2] was not updated to reflect this: "3.2. The standard type hierarchy" > "Mappings" > "Dictionaries". Note that the library docs [3] *were* updated. [1] https://docs.python.org/3/whatsnew/3.7.html#summary-release-highlights |
Hi, I would like to take this issue as my first contribution to Python, I'm currently subscribed to the python-core-mentorship list. Kind regards. |
Patch are submitted as pull request on our GitHub repo. |
Following the guide, I've send a patch with the fix, I'm waiting for a review. Once the patch will be reviewed and accepted. My patch will need to be backported from 3.9 to 3.7. |
I sent pr. All tests passed successfully. If accepted, this will be my first contribution :) |
Hi Furkan. Please note that Lahfa Samy had already submitted a PR for this issue after "claiming" it with a note here; proper "netiquette" suggests not jumping in with your own PR in such a situation. Fortuitously though, it looks like the both of you have actually implemented about half of the final change that we need here :). I'll be leaving review comments on both PRs; I recommend that the two of you work together to combine your PRs into a single PR with both of your (revised) changes. |
Hi Furkan, would you mind to combine your revised PR with mine so that we can do as suggested by Zachary? |
Hello Samy, It's my pr,AkechiShiro#1 |
Thank you for your quick work, I have successfully merged your changes in the branch of the first PR, now awaiting review from Zachary. |
Thanks for the patch! |
What's New in Python 3.7 says:
Reference: https://mail.python.org/pipermail/python-dev/2017-December/151283.html I just wanted to add a reference for this change. I wanted to check if it is ok to modify the doc: yes, it is :-) |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: