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

gh-135755: Move `PyFunction_GET_BUILTINS` to the private API by ZeroIntensity · Pull Request #135938 · python/cpython · GitHub

/ cpython Public

gh-135755: Move PyFunction_GET_BUILTINS to the private API - #135938

Merged
encukou merged 1 commit into
python:mainfrom
ZeroIntensity:private-get-builtins
Jun 26, 2025
Merged

gh-135755: Move PyFunction_GET_BUILTINS to the private API#135938
encukou merged 1 commit into
python:mainfrom
ZeroIntensity:private-get-builtins

Conversation

ZeroIntensity commented Jun 25, 2025
edited by bedevere-app Bot
Loading

Copy link
Copy Markdown
Member

This is an alternative to GH-135934. It seems like it might be better to move this to the private API for a few reasons:

  1. There's no PyFunction_Get* equivalent for PyFunction_GET_BUILTINS.
  2. It's mostly untested, the only reference to it in the tests being in _testinternalcapi.

ericsnowcurrently left a comment

Copy link
Copy Markdown
Member

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

Yeah, making it internal makes sense.

encukou left a comment

Copy link
Copy Markdown
Member

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

Thank you!

encukou merged commit 10a3d43 into python:main Jun 26, 2025

Copy link
Copy Markdown

Thanks @ZeroIntensity for the PR, and @encukou for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Jun 26, 2025
…ythonGH-135938)

(cherry picked from commit 10a3d43)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>

bedevere-app Bot commented Jun 26, 2025

Copy link
Copy Markdown

GH-135972 is a backport of this pull request to the 3.14 branch.

bedevere-app Bot removed the needs backport to 3.14 bugs and security fixes label Jun 26, 2025
encukou pushed a commit that referenced this pull request Jun 26, 2025
…H-135938) (GH-135972)

(cherry picked from commit 10a3d43)

Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
ZeroIntensity deleted the private-get-builtins branch November 11, 2025 00:40
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL