Skip to content

gh-158001: Remove Py_SetProgramName() function - #158024

Merged
vstinner merged 6 commits into
python:mainfrom
vstinner:remove_setpythonhome
Sep 24, 2026
Merged

vstinner merged 6 commits into
python:mainfrom
vstinner:remove_setpythonhome

Conversation

@vstinner

@vstinner vstinner commented Sep 23, 2026 •

Copy link
Copy Markdown
Member

Remove Py_SetProgramName(), Py_SetPythonHome(), PySys_SetArgv() and PySys_SetArgvEx() functions, deprecated since Python 3.11.

Remove Py_SetProgramName(), Py_SetPythonHome(), PySys_SetArgv() and
PySys_SetArgvEx() functions, deprecated since Python 3.11.
@read-the-docs-community

read-the-docs-community Bot commented Sep 23, 2026 •

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34734604 | 📁 Comparing ed41bab against main (b54ae4c)

  🔍 Preview build  

7 files changed · ± 7 modified

± Modified

@vstinner
vstinner merged commit a5a4659 into python:main Sep 24, 2026
55 checks passed
@vstinner
vstinner deleted the remove_setpythonhome branch September 24, 2026 10:52
@bedevere-bot

Copy link
Copy Markdown

⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️

Hi! The buildbot aarch64 Fedora Stable Refleaks 3.x (tier-2) has failed when building commit a5a4659.

What do you need to do:

  1. Don't panic.
  2. Check the buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/123/builds/2458) and take a look at the build logs.
  4. Check if the failure is related to this commit (a5a4659) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/123/builds/2458

Test leaking resources:

  • test_manager: references
  • test_manager: memory blocks

Summary of the results of the build (if available):

==

Click to see traceback logs
Note: switching to 'a5a4659548ed112692c7617a295577f0e6eee6df'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:

  git switch -c <new-branch-name>

Or undo this operation with:

  git switch -

Turn off this advice by setting config variable advice.detachedHead to false

HEAD is now at a5a4659548e gh-158001: Remove Py_SetProgramName() function (#158024)
Switched to and reset branch 'main'

make: *** [Makefile:2489: buildbottest] Error 3

Expanding reachable commits in commit graph: 112755
Expanding reachable commits in commit graph: 171503, done.

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.

2 participants