Skip to content

[3.15] gh-160962: Fix PyInitConfig_SetStr() with NULL value (GH-161258) - #161291

Merged
vstinner merged 1 commit into
python:3.15from
miss-islington:backport-6d69297-3.15
Nov 4, 2026
Merged

vstinner merged 1 commit into
python:3.15from
miss-islington:backport-6d69297-3.15

Conversation

@miss-islington

@miss-islington miss-islington commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Previously, passing NULL to an optional string option crashed.

Document optional string options.

Add more tests on the PyInitConfig API.
(cherry picked from commit 6d69297)

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

…161258)

Previously, passing NULL to an optional string option crashed.

Document optional string options.

Add more tests on the PyInitConfig API.
(cherry picked from commit 6d69297b2b1007991640310e8699979a2ef66287)

Co-authored-by: Victor Stinner <vstinner@python.org>
@read-the-docs-community

Copy link
Copy Markdown

@vstinner
vstinner merged commit 22bc41d into python:3.15 Nov 4, 2026
56 checks passed
@miss-islington
miss-islington deleted the backport-6d69297-3.15 branch November 4, 2026 02:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants