Commit d678b1c
pythongh-117139: Replace _PyList_FromArraySteal with stack ref variant (python#122830)
This replaces `_PyList_FromArraySteal` with `_PyList_FromStackRefSteal`.
It's functionally equivalent, but takes a `_PyStackRef` array instead of
an array of `PyObject` pointers.
Co-authored-by: Ken Jin <kenjin@python.org>1 parent db3a8a5 commit d678b1c
6 files changed
Lines changed: 13 additions & 34 deletions
File tree
- Include/internal
- Objects
- Python
- Tools/cases_generator
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
59 | | - | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
60 | 63 | | |
61 | 64 | | |
62 | 65 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3142 | 3142 | | |
3143 | 3143 | | |
3144 | 3144 | | |
3145 | | - | |
| 3145 | + | |
3146 | 3146 | | |
3147 | 3147 | | |
3148 | 3148 | | |
| |||
3151 | 3151 | | |
3152 | 3152 | | |
3153 | 3153 | | |
3154 | | - | |
| 3154 | + | |
3155 | 3155 | | |
3156 | 3156 | | |
3157 | 3157 | | |
3158 | 3158 | | |
3159 | 3159 | | |
3160 | | - | |
| 3160 | + | |
| 3161 | + | |
| 3162 | + | |
3161 | 3163 | | |
3162 | 3164 | | |
3163 | 3165 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1666 | 1666 | | |
1667 | 1667 | | |
1668 | 1668 | | |
1669 | | - | |
1670 | | - | |
1671 | | - | |
1672 | | - | |
1673 | | - | |
1674 | | - | |
1675 | | - | |
| 1669 | + | |
1676 | 1670 | | |
1677 | 1671 | | |
1678 | 1672 | | |
| |||
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
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 | |
|---|---|---|---|
| |||
534 | 534 | | |
535 | 535 | | |
536 | 536 | | |
537 | | - | |
| 537 | + | |
538 | 538 | | |
539 | 539 | | |
540 | 540 | | |
| |||
0 commit comments