GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Restore removed Py_SetProgramName() and PySys_SetArgv() functions · Issue #117987 · python/cpython

Restore removed Py_SetProgramName() and PySys_SetArgv() functions #117987

New issue
Copy link
New issue
Copy link
Closed
Closed
Restore removed Py_SetProgramName() and PySys_SetArgv() functions#117987
Copy link
Labels
topic-C-API

Description

@vstinner
vstinner
opened on Apr 17, 2024
Issue body actions

My Fedora team identified that the removal of "Python initialization" functions impacts at least 17 projects. I propose to restore them to give more time to impacted projects to be updated to the new PEP 587 PyConfig API added to Python 3.8.

These functions were marked as deprecated in Python 3.11.

Py_SetProgramName() and/or Py_SetPythonHome(), 7 impacted projects:

  • dionaea
  • fontforge
  • glade
  • libreoffice
  • neuron
  • python-pyqt6
  • python-pyside6

PySys_SetArgv() and/or PySys_SetArgvEx(), 12 impacted projects (glade and neuron are both lists):

  • collectd
  • glade
  • gnumeric
  • kernel
  • nautilus-python
  • nemo-extensions
  • neuron
  • obs-studio
  • pyotherside
  • remmina
  • scribus
  • sourcextractor++

In Python 3.13, I also proposed PEP 741 – Python Configuration C API but it's still a draft.

Linked PRs

  • gh-117987: Restore remove Py_SetProgramName() function #117993

Activity

  1. vstinner
    added 2 commits that reference this issue on Apr 17, 2024

    pythongh-117987: Restore remove Py_SetProgramName() function

    bee8e46

    pythongh-117987: Restore remove Py_SetProgramName() function

    916eb23
  2. encukou
    added a commit that references this issue on Apr 18, 2024

    gh-117987: Restore several functions removed in Python 3.13 alpha 1 (G…

    340a02b
  3. encukou commented on Apr 18, 2024

    @encukou
    encukou
    on Apr 18, 2024
    Member
    More actions

    Thank you! Every bit helps.

  4. encukou
    closed this as completedon Apr 18, 2024
  5. vstinner
    added
    topic-C-API
    on Oct 3, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    topic-C-API

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.