-
-
Notifications
You must be signed in to change notification settings - Fork 34.4k
gh-148325: Add PyObject_GetItemData() to the limited C API and stable ABI
#148324
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,2 @@ | ||
| Add :c:func:`PyObject_GetItemData` and | ||
| :c:func:`PyObject_GetItemData_DuringGC` to the limited C API and stable ABI. |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -2666,8 +2666,13 @@ | |
| [function.Py_SET_SIZE] | ||
| # Before 3.15, this was a macro that accessed the PyObject member | ||
| added = '3.15' | ||
| [function.PyObject_GetItemData] | ||
| # Before 3.15, this was only available in the unstable CPython API | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. nitpick: I'm not sure that this comment is useful, it's the case for most functions added to the stable ABI. |
||
| added = '3.15' | ||
| [function.PyObject_GetTypeData_DuringGC] | ||
| added = '3.15' | ||
| [function.PyObject_GetItemData_DuringGC] | ||
| added = '3.15' | ||
| [function.PyType_GetModuleState_DuringGC] | ||
| added = '3.15' | ||
| [function.PyModule_GetState_DuringGC] | ||
|
|
||
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.