gh-125028: Prohibit placeholders in partial keywords#126062
gh-125028: Prohibit placeholders in partial keywords#126062serhiy-storchaka merged 16 commits intopython:mainfrom
Conversation
…hibit-kw-placeholders
…hibit-kw-placeholders
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
erlend-aasland
left a comment
There was a problem hiding this comment.
Please amend Doc/library/functools.rst and Doc/whatsnew/3.14.rst as needed.
|
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! @erlend-aasland: please review the changes made to this pull request. |
|
Thanks, looks good to me. I'd like Serhiy's eyes on it also. |
|
@rhettinger, @serhiy-storchaka Also, what are your thoughts on:
Should either of the above be aimed to be merged before 3.14 or is it not of importance? |
serhiy-storchaka
left a comment
There was a problem hiding this comment.
LGTM. 👍
It should go in 3.14, no question. It is much easier to prohibit this in 3.14, that in any following version, when we would need to pass through a deprecation process. On other hand, we can allow Placeholder as a keyword argument at any time if it is needed.
|
Thanks @dg-pb for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
|
GH-133645 is a backport of this pull request to the 3.14 branch. |
partialkeywords #125028