Skip to content

gh-133644: Avoid deprecated Py_SetProgramName() in _testembed.c - #133665

Merged
vstinner merged 1 commit into
python:mainfrom
vstinner:set_program_name
May 9, 2025
Merged

gh-133644: Avoid deprecated Py_SetProgramName() in _testembed.c#133665
vstinner merged 1 commit into
python:mainfrom
vstinner:set_program_name

Conversation

@vstinner

@vstinnervstinner commented May 8, 2025

Copy link
Copy Markdown
Member
  • Rename _testembed_Py_InitializeFromConfig() to _testembed_initialize().
  • Replace _testembed_Py_Initialize() with _testembed_initialize().

@vstinner

Copy link
Copy Markdown
MemberAuthor

@picnixz: I wrote this PR to prepare removing Python configuration "setter" functions (such as Py_SetProgramName()).

* Rename _testembed_Py_InitializeFromConfig() to
_testembed_initialize().
* Replace _testembed_Py_Initialize() with _testembed_initialize().
@vstinnervstinner changed the title gh-133644: Avoid deprecated Py_SetProgramName() in _testembedgh-133644: Avoid deprecated Py_SetProgramName() in _testembed.cMay 9, 2025
@vstinner
vstinner merged commit 6d9ec4e into python:mainMay 9, 2025
@vstinner
vstinner deleted the set_program_name branch May 9, 2025 15:50
Pranjal095 pushed a commit to Pranjal095/cpython that referenced this pull request Jul 12, 2025
…python#133665)
* Rename _testembed_Py_InitializeFromConfig() to
_testembed_initialize().
* Replace _testembed_Py_Initialize() with _testembed_initialize().
taegyunkim pushed a commit to taegyunkim/cpython that referenced this pull request Aug 4, 2025
…python#133665)
* Rename _testembed_Py_InitializeFromConfig() to
_testembed_initialize().
* Replace _testembed_Py_Initialize() with _testembed_initialize().
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip newstestsTests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@vstinner