Skip to content

[C API] PEP 741: Add PyInitConfig C API to customize the Python initialization #107954

Closed

Activity

  1. added a commit that references this issue on Oct 3, 2023
  2. added 10 commits that reference this issue on Nov 30, 2023
  3. vstinner commented on Dec 1, 2023

    @vstinner
    MemberAuthor

    I wrote PR #112609 to read configuration options such as "verbose" or "argv" as a C int or as a Python object.

  4. added 2 commits that reference this issue on Dec 12, 2023
  5. vstinner commented on Dec 20, 2023

    @vstinner
    MemberAuthor

    I close the issue: #110176 (comment)

  6. milianw commented on Jan 16, 2024

    @milianw

    Hey @vstinner - IIUC then there's still no non-deprecated API in the limited C API to customize the initialization, right? Can you then please reopen this task to indicate that this? Or should I report a separate issue to track this?

    Thank you

  7. vstinner commented on Jan 16, 2024

    @vstinner
    MemberAuthor

    Can you then please reopen this task to indicate that this?

    Ok, I reopen the issue.

  8. vstinner commented on Jan 24, 2024

    @vstinner
    MemberAuthor

    Hey @vstinner - IIUC then there's still no non-deprecated API in the limited C API to customize the initialization, right? Can you then please reopen this task to indicate that this? Or should I report a separate issue to track this?

    I wrote PEP 741 – Python Configuration C API. Can you please elaborate your use case to motivate the usage of the limited C API to customize the Python initialization, rather than using the non-limited PyConfig C API? I was asked for such rationale.

  9. changed the title [-][C API] No limited C API to customize Python initialization (PyConfig, PEP 587)[/-] [+][C API] PEP 741: No limited C API to customize Python initialization (PyConfig, PEP 587)[/+] on Jan 24, 2024
  10. milianw commented on Jan 26, 2024

    @milianw

    We have a large old code base with an embedded python/jupyter console in a graphical application.

    We call Py_SetProgramName and Py_SetPythonHome - though to be frank our test suite seems to pass even without calls to these two functions, but maybe not in a packaged environment without any system python available, I have to double check that - but I believe this was the initial idea - to tell python where to look for its bundled libraries in a subfolder of our application directory.

  11. changed the title [-][C API] PEP 741: No limited C API to customize Python initialization (PyConfig, PEP 587)[/-] [+][C API] PEP 741: Add stable ABI to customize Python initialization (PyConfig, PEP 587)[/+] on Feb 15, 2024
  12. changed the title [-][C API] PEP 741: Add stable ABI to customize Python initialization (PyConfig, PEP 587)[/-] [+][C API] PEP 741: Add stable ABI to customize Python initialization[/+] on Feb 15, 2024
  13. added a commit that references this issue on Feb 19, 2024
  14. added 2 commits that reference this issue on Mar 5, 2024
  15. vstinner commented on Mar 7, 2024

    @vstinner
    MemberAuthor

    See also #99872 "Allow efficient read access to PyConfig options".

  16. added a commit that references this issue on Mar 14, 2024
  17. added a commit that references this issue on Mar 25, 2024
  18. added a commit that references this issue on Apr 17, 2024
  19. added a commit that references this issue on May 23, 2024
  20. added 2 commits that reference this issue on Aug 29, 2024
  21. changed the title [-][C API] PEP 741: Add stable ABI to customize Python initialization[/-] [+][C API] PEP 741: Add PyInitConfig C API to customize the Python initialization[/+] on Aug 30, 2024
  22. added a commit that references this issue on Aug 30, 2024
  23. added a commit that references this issue on Sep 2, 2024
  24. added 8 commits that reference this issue on Sep 2, 2024
  25. vstinner commented on Sep 6, 2024

    @vstinner
    MemberAuthor

    PEP 741 is now fully implemented, I close the issue.

  26. added 2 commits that reference this issue on Sep 26, 2024
  27. added a commit that references this issue on Sep 27, 2024
  28. added 2 commits that reference this issue on Nov 20, 2024
  29. added a commit that references this issue on Jan 12, 2025
  30. added 5 commits that reference this issue on Apr 25, 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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions