bpo-33800: Fix default argument for parameter dict_type of ConfigParser/RawConfigParser#7494
Conversation
|
|
||
| .. versionchanged:: 3.1 | ||
| The default *dict_type* is :class:`collections.OrderedDict`. | ||
|
|
There was a problem hiding this comment.
Please do not remove historical notes.
| keys and values are implicitly converted to strings. | ||
|
|
||
| .. versionchanged:: 3.7 | ||
| The default *dict_type* is :class:`dict`. |
There was a problem hiding this comment.
Suggestion to avoid puzzlement: :class:`dict`, which is now ordered.
|
I agree! Thanks for the review Éric :) |
| .. versionchanged:: 3.7 | ||
| The default *dict_type* is :class:`dict`. | ||
| The default *dict_type* is :class:`dict`, since it now guarantees | ||
| insertion order. |
There was a problem hiding this comment.
This sounds a little funny to me. What do you think of preserves or keeps rather than guarantees?
There was a problem hiding this comment.
I like preserves too :)
| Items present in *vars* no longer appear in the result. The previous | ||
| behaviour mixed actual parser options with variables provided for | ||
| interpolation. | ||
| .. versionchanged:: 3.8 |
There was a problem hiding this comment.
It looks like you are addressing another problem here, one that is only in master. With this change, it won't be possible to auto backport this fix to 3.7. Suggest you include this in another PR if necessary.
There was a problem hiding this comment.
Yes, exactly. I'll update the PR.
|
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! @ned-deily: please review the changes made to this pull request. |
|
Thanks @andresdelfino for the PR, and @ned-deily for merging it 🌮🎉.. I'm working now to backport this PR to: 3.7. |
|
GH-7542 is a backport of this pull request to the 3.7 branch. |
…er/RawConfigParser (pythonGH-7494) (cherry picked from commit 3b0b90c) Co-authored-by: Andrés Delfino <adelfino@gmail.com>
https://bugs.python.org/issue33800