Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-108512: Add and use new replacements for PySys_GetObject() (alt)#129736

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Draft
serhiy-storchaka wants to merge3 commits intopython:main
base:main
Choose a base branch
Loading
fromserhiy-storchaka:capi-PySys_GetAttr2

Conversation

serhiy-storchaka
Copy link
Member

@serhiy-storchakaserhiy-storchaka commentedFeb 6, 2025
edited by github-actionsbot
Loading

Add functions PySys_GetAttr() and PySys_GetAttrString().

This is an alternative to#111035 which only adds functions that request optional attributes, renamed toPySys_GetAttr() andPySys_GetAttrString(), to the public C API. Functions that raise RuntimeError for absent attributes are added as internal functions_PySys_GetRequiredAttr() and_PySys_GetRequiredAttrString().


📚 Documentation preview 📚:https://cpython-previews--129736.org.readthedocs.build/

Add functions PySys_GetAttr() and PySys_GetAttrString().
@serhiy-storchakaserhiy-storchaka marked this pull request as draftMay 21, 2025 18:54
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@encukouencukouAwaiting requested review from encukouencukou is a code owner

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

@FFY00FFY00Awaiting requested review from FFY00FFY00 is a code owner

@markshannonmarkshannonAwaiting requested review from markshannonmarkshannon is a code owner

@kumaraditya303kumaraditya303Awaiting requested review from kumaraditya303kumaraditya303 will be requested when the pull request is marked ready for reviewkumaraditya303 is a code owner

Assignees
No one assigned
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@serhiy-storchaka

[8]ページ先頭

©2009-2025 Movatter.jp