Skip to content

Do I need to merge commit: Implement PEP587 Python Initialzation Configuration. #486

Closed Answered by pyscripter
Alexey-T asked this question in Q&A
Discussion options

You must be logged in to vote

The reasons for this commit (see https://docs.python.org/3/whatsnew/3.13.html)

Remove the following old functions to configure the Python initialization, deprecated in Python 3.11:

  • PySys_SetPath(): Set PyConfig.module_search_paths instead.
  • Py_SetPath()
  • _Py_SetProgramFullPath

**Pending Removal in Python 3.14 (originally scheduled for removal in 3.13) **

  • PySys_SetArgvEx(): Set PyConfig.argv instead.
  • PySys_SetArgv(): Set PyConfig.argv instead.
  • Py_SetProgramName(): Set PyConfig.program_name instead.
  • Py_SetPythonHome(): Set PyConfig.home instead.
  • Py_DebugFlag: Use PyConfig.parser_debug instead.
  • Py_VerboseFlag: Use PyConfig.verbose instead.
  • Py_QuietFlag: Use PyConfig.quiet instead.
  • Py_Intera…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by Alexey-T
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants