FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-105879: Add support for keyword arguments to eval and exec by rtpg · Pull Request #105885 · python/cpython · GitHub

/ cpython Public

gh-105879: Add support for keyword arguments to eval and exec - #105885

Merged
JelleZijlstra merged 8 commits into
python:mainfrom
rtpg:exec-kwargs
May 2, 2024
Merged

gh-105879: Add support for keyword arguments to eval and exec#105885
JelleZijlstra merged 8 commits into
python:mainfrom
rtpg:exec-kwargs

Conversation

rtpg commented Jun 17, 2023
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Contributor

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

ghost commented Jun 17, 2023
edited by ghost
Loading

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

hauntsaninja left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for suggesting and adding this feature! I've definitely confused the ordering of these before :-) This looks good to me (although I think I still have a vague preference for keeping the source argument positional-only)

Copy link
Copy Markdown
Member

Does this need a doc change?

rtpg commented Jul 4, 2023

Copy link
Copy Markdown
Contributor Author

@iritkatriel i believe that the docstring changes (derived from the arg clinic changes) are sufficient, as I did not see anything being explicit about positional-only-ness beyond that

JelleZijlstra self-assigned this May 1, 2024
rtpg requested a review from ericsnowcurrently as a code owner May 1, 2024 16:21

Copy link
Copy Markdown
Member

I fixed the (trivial) merge conflict, undid an unnecessary formatting change, and added a documentation note as @iritkatriel suggested. I'll merge the PR in a bit so we can get this change into 3.13.

Copy link
Copy Markdown
Member

Thinking about it again I agree with @hauntsaninja's suggestion above that we should leave the first argument positional-only. I'll make that change.

JelleZijlstra merged commit 2770d5c into python:main May 2, 2024
SonicField pushed a commit to SonicField/cpython that referenced this pull request May 8, 2024
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL