Skip to content

Remove dead logic - #29

Merged
StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:Py_SetProgramName
Apr 9, 2026
Merged

StanFromIreland merged 1 commit into
python:mainfrom
StanFromIreland:Py_SetProgramName

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

Py_SetProgramName is removed in 3.15. I also have no idea as to why it failed before that, and unfortunately the commit message of 1c8b082 (which put it in the #if 0 block) is quite brief.

Furthermore, seeing as we haven't had any issues I don't see a reason to set the program name, so I suggest we just remove it.

@StanFromIreland
StanFromIreland requested a review from a team as a code owner April 9, 2026 14:24

@ammaraskar ammaraskar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

heh this call must have been required in the C API at some point

@StanFromIreland
StanFromIreland merged commit 2308a57 into python:main Apr 9, 2026
1 check passed
@StanFromIreland
StanFromIreland deleted the Py_SetProgramName branch April 9, 2026 14:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants