]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473...
authorVictor Stinner <vstinner@python.org>
Fri, 10 Jul 2026 22:25:22 +0000 (00:25 +0200)
committerGitHub <noreply@github.com>
Fri, 10 Jul 2026 22:25:22 +0000 (22:25 +0000)
commit5baaa5b86d8359fa34d72d3eaadb369a28e3ae82
treea98979bdcc9d1aff55efe65c54670133734e9fa4
parentc6aad278fb84ca18c44d577b3de8e597633a6b17
[3.13] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473) (#153533)

[3.14] gh-152132: Test Py_CompileString() in test_capi.test_run (#153470) (#153473)

gh-152132: Test Py_CompileString() in test_capi.test_run (#153470)

PyRun functions now raises ValueError if the start argument is
invalid.

Add Modules/_testlimitedcapi/run.c.

(cherry picked from commit d83d26724b8c3be5f535e56ded88593cc6803b86)
(cherry picked from commit 6374772d8c2118c5615c8aae109222442603b921)
Include/cpython/pythonrun.h
Lib/test/test_capi/test_run.py
Modules/Setup.stdlib.in
Modules/_testcapi/run.c
Modules/_testlimitedcapi.c
Modules/_testlimitedcapi/parts.h
Modules/_testlimitedcapi/run.c [new file with mode: 0644]
PCbuild/_testlimitedcapi.vcxproj
PCbuild/_testlimitedcapi.vcxproj.filters
Python/pythonrun.c