Skip to content

gh-160962: Fix PyInitConfig_SetStr() with NULL value - #161258

Open
vstinner wants to merge 1 commit into
python:mainfrom
vstinner:initconfig
Open

vstinner wants to merge 1 commit into
python:mainfrom
vstinner:initconfig

Conversation

@vstinner

@vstinner vstinner commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

Previously, passing NULL to an optional string option crashed.

Add tests on PyInitConfig_GetInt(), PyInitConfig_GetStr() and PyInitConfig_GetStrList() functions.

Previously, passing NULL to an optional string option crashed.

Add tests on PyInitConfig_GetInt(), PyInitConfig_GetStr() and
PyInitConfig_GetStrList() functions.
@vstinner

vstinner commented Nov 3, 2026

Copy link
Copy Markdown
Member Author

cc @sobolevn @NekoAsakura

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant