Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

vstinner
Copy link
Member

@vstinner vstinner commented May 8, 2025

  • Rename _testembed_Py_InitializeFromConfig() to _testembed_initialize().
  • Replace _testembed_Py_Initialize() with _testembed_initialize().

@bedevere-app bedevere-app bot added the tests Tests in the Lib/test dir label May 8, 2025
@vstinner
Copy link
Member Author

vstinner commented May 8, 2025

@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().
@vstinner vstinner force-pushed the set_program_name branch from bf71385 to 4a9dada Compare May 9, 2025 06:04
@vstinner vstinner changed the title gh-133644: Avoid deprecated Py_SetProgramName() in _testembed gh-133644: Avoid deprecated Py_SetProgramName() in _testembed.c May 9, 2025
@vstinner vstinner merged commit 6d9ec4e into python:main May 9, 2025
38 checks passed
@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 free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news tests Tests in the Lib/test dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant