Skip to content

Use PyConfig_Get() in frozenmain.c#137421

Merged
vstinner merged 1 commit intopython:mainfrom
vstinner:frozenmain
Aug 6, 2025
Merged

Use PyConfig_Get() in frozenmain.c#137421
vstinner merged 1 commit intopython:mainfrom
vstinner:frozenmain

Conversation

@vstinner
Copy link
Copy Markdown
Member

@vstinner vstinner commented Aug 5, 2025

Replace private _Py_GetConfig() with public PyConfig_Get().

Remove also explicit PyRuntime initialization, it's not needed.

Replace private _Py_GetConfig() with public PyConfig_Get().

Remove also explicit PyRuntime initialization, it's not needed.
@vstinner vstinner merged commit 3a79a12 into python:main Aug 6, 2025
46 checks passed
@vstinner vstinner deleted the frozenmain branch August 6, 2025 12:33
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Replace private _Py_GetConfig() with public PyConfig_Get().

Remove also explicit PyRuntime initialization, it's not needed.
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.

1 participant