]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-152132: Test all PyRun functions in test_capi.test_run (#153352)
authorVictor Stinner <vstinner@python.org>
Thu, 9 Jul 2026 10:50:40 +0000 (12:50 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 10:50:40 +0000 (12:50 +0200)
commitcd9994e2831ea743e5423c1db56ca2ca42154e0a
treeb8c375e1381c3c40df3b1fcd7bd87261ca6c1138
parent53b04980284b668c27fc6d5adb0de19d38efe95b
gh-152132: Test all PyRun functions in test_capi.test_run (#153352)

PyRun_InteractiveOneObjectEx() now raises TypeError if the second
parameter type is not str.
Lib/test/test_capi/test_run.py
Modules/_testcapi/run.c
Python/pythonrun.c