summaryrefslogtreecommitdiffstats
path: root/Tools
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-08-12 18:49:49 (GMT)
committerGitHub <noreply@github.com>2024-08-12 18:49:49 (GMT)
commitab094d1b2b348f670743f88e52d1a3f2cab5abd5 (patch)
tree4b428aee12b8eb286e1405527846c40206adef05 /Tools
parent736fe4d23e267a70d3b769046f03c1f3bdc0f430 (diff)
downloadcpython-ab094d1b2b348f670743f88e52d1a3f2cab5abd5.zip
cpython-ab094d1b2b348f670743f88e52d1a3f2cab5abd5.tar.gz
cpython-ab094d1b2b348f670743f88e52d1a3f2cab5abd5.tar.bz2
gh-117139: Replace _PyList_FromArraySteal with stack ref variant (#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>
Diffstat (limited to 'Tools')
-rw-r--r--Tools/cases_generator/analyzer.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/cases_generator/analyzer.py b/Tools/cases_generator/analyzer.py
index c91edff..db30229 100644
--- a/Tools/cases_generator/analyzer.py
+++ b/Tools/cases_generator/analyzer.py
@@ -534,7 +534,7 @@ NON_ESCAPING_FUNCTIONS = (
"STACKREFS_TO_PYOBJECTS",
"STACKREFS_TO_PYOBJECTS_CLEANUP",
"CONVERSION_FAILED",
- "_PyList_FromArraySteal",
+ "_PyList_FromStackRefSteal",
"_PyTuple_FromArraySteal",
"_PyTuple_FromStackRefSteal",
)