]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.15] gh-152132: Test all PyRun functions in test_capi.test_run (GH-153352) (#153411)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Thu, 9 Jul 2026 11:21:50 +0000 (13:21 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 11:21:50 +0000 (11:21 +0000)
commit64048038a645e4da9789d56959f6d4a7ed6a14c9
tree5c97243d23f6dd462c2d4acd41b6518230575c4c
parent7307d776290d54fc84b246b6b4cdcdcc63397ffa
[3.15] gh-152132: Test all PyRun functions in test_capi.test_run (GH-153352) (#153411)

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