Commit d4342b4
committed
gh-145921: Add PyObject_GetItemData to the limited C API and stable ABI
Move PyObject_GetItemData and PyObject_GetItemData_DuringGC from the
unstable CPython API (Include/cpython/object.h) to the limited C API
(Include/object.h), gated on Py_LIMITED_API >= 3.15, and declare them
as part of the stable ABI in Misc/stable_abi.toml.1 parent 1a0edb1 commit d4342b4
File tree
8 files changed
+21
-3
lines changed- Doc
- c-api
- data
- Include
- cpython
- Lib/test
- Misc
- NEWS.d/next/C_API
- PC
8 files changed
+21
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
624 | 624 | | |
625 | 625 | | |
626 | 626 | | |
| 627 | + | |
| 628 | + | |
| 629 | + | |
| 630 | + | |
627 | 631 | | |
628 | 632 | | |
629 | 633 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | | - | |
445 | | - | |
446 | | - | |
447 | 444 | | |
448 | 445 | | |
449 | 446 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
355 | 355 | | |
356 | 356 | | |
357 | 357 | | |
| 358 | + | |
| 359 | + | |
| 360 | + | |
358 | 361 | | |
359 | 362 | | |
360 | 363 | | |
| |||
781 | 784 | | |
782 | 785 | | |
783 | 786 | | |
| 787 | + | |
784 | 788 | | |
785 | 789 | | |
786 | 790 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2666 | 2666 | | |
2667 | 2667 | | |
2668 | 2668 | | |
| 2669 | + | |
| 2670 | + | |
| 2671 | + | |
2669 | 2672 | | |
2670 | 2673 | | |
| 2674 | + | |
| 2675 | + | |
2671 | 2676 | | |
2672 | 2677 | | |
2673 | 2678 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments