]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-152132: Test all PyRun functions in test_capi.test_run (GH-153352) (#153412)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 11:18:23 +0000 (13:18 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 11:18:23 +0000 (11:18 +0000)
commit246d9ad2554ebd51ac8db735dbd61c48fa1c5e54
tree50f5196d037571768d77b1a4f973b754904a3234
parentae00bce1d8fa64401f46be9b51de2e08646fe55f
[3.14] gh-152132: Test all PyRun functions in test_capi.test_run (GH-153352) (#153412)

gh-152132: Test all PyRun functions in test_capi.test_run (GH-153352)

PyRun_InteractiveOneObjectEx() now raises TypeError if the second
parameter type is not str.
(cherry picked from commit cd9994e2831ea743e5423c1db56ca2ca42154e0a)

Co-authored-by: Victor Stinner <vstinner@python.org>
Lib/test/test_capi/test_run.py
Modules/_testcapi/run.c
Python/pythonrun.c