]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-152132: Test all PyRun functions in test_capi.test_run (#153352) (#153414)
authorVictor Stinner <vstinner@python.org>
Thu, 9 Jul 2026 13:57:21 +0000 (15:57 +0200)
committerGitHub <noreply@github.com>
Thu, 9 Jul 2026 13:57:21 +0000 (13:57 +0000)
commit91abe31b2cf8ce2dd3547eb6495de884ff4329ef
tree36daa0c76e37f3614cd5327b215db9af43b10d7e
parent89e2a5e0cbace2b3703bd6c0228350375fc298c7
[3.13] gh-152132: Test all PyRun functions in test_capi.test_run (#153352) (#153414)

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.

(cherry picked from commit cd9994e2831ea743e5423c1db56ca2ca42154e0a)
Lib/test/test_capi/test_run.py
Modules/_testcapi/run.c
Python/pythonrun.c