Skip to content

[3.15] gh-152132: Test Py_CompileString() in test_capi.test_run (GH-153470)#153472

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-d83d267-3.15
Jul 10, 2026
Merged

[3.15] gh-152132: Test Py_CompileString() in test_capi.test_run (GH-153470)#153472
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-d83d267-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

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

  • Add Modules/_testlimitedcapi/run.c.
  • Rename _Py_CompileStringObjectWithModule() to
    _Py_CompileStringObject().
    (cherry picked from commit d83d267)

Co-authored-by: Victor Stinner vstinner@python.org

…nGH-153470)

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

* Add Modules/_testlimitedcapi/run.c.
* Rename _Py_CompileStringObjectWithModule() to
  _Py_CompileStringObject().
(cherry picked from commit d83d26724b8c3be5f535e56ded88593cc6803b86)

Co-authored-by: Victor Stinner <vstinner@python.org>
@vstinner vstinner enabled auto-merge (squash) July 10, 2026 01:37
@vstinner vstinner merged commit 462f628 into python:3.15 Jul 10, 2026
54 checks passed
@miss-islington miss-islington deleted the backport-d83d267-3.15 branch July 10, 2026 02:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants