GeistHaus
log in · sign up

PEP 741 – Python Configuration C API | peps.python.org

peps.python.org

Add a C API to configure the Python initialization without relying on C structures and the ability to make ABI-compatible changes in the future.

8 pages link to this URL
PEP 741: Python Configuration C API (second version)

Hi, I wrote a major update of my PEP 741 “Python Configuration C API (second version)” to address most, if not all, requests in the previous discussion. => Read the updated PEP 741 <= See the Commit of the PEP 741 update. Changes (incomplete list): PyInitConfig_SetStr() and PyInitConfig_SetStrList() now expect UTF-8 encoded string, instead of strings encoded to the locale encoding. Add PyInitConfig_SetStrLocale() and PyInitConfig_SetStrLocaleList() functions which expect null-terminate...

2 inbound links website en
PEP 741: Python Configuration C API (second version)

The Steering Council is having a tough time evaluating PEP 741 (Python Configuration C API). We’re not sure how to proceed given where we are (a big proposal that apparently failed to reach consensus) and what the SC’s mandate is (find consensus for proposals), and we think we need some help moving this along. In particular we think it’s important to understand why the discussions haven’t led to consensus around this proposal, and what that means for the proposal itself. We’d like to hear more ...

1 inbound link website en
PEP 741: Python Configuration C API

Read the PEP 741: Python Configuration C API. Abstract Add a C API to the limited C API to configure the Python preinitialization and initialization, and to get the current configuration. It can be used with the stable ABI. Add sys.get_config(name) function to get the current value of a configuration option. Allow setting custom configuration options, not used by Python but by third-party code. Options are referred to by their name as a string. PEP 587 “Python Initialization Configuration” u...

2 inbound links website en
Victor Stinner blog 3

Coding, scientific development, finance, data analysis, visualization, statistics, and machine learning

0 inbound links en cpythonbenchmark (8)cpython (27)linux (2)python (41) c-apicpython
Python 3.14.0 alpha 1

It’s now time for a new alpha of a new version of Python! This is an early developer preview of Python 3.14 Major new features of the 3.14 series, compared to 3.13 Python 3.14 is still in development. This release, 3.14.0a1 is the first of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2025-...

1 inbound link website en release
Python 3.14.0 alpha 2

Alpha 2? But Alpha 1 only just came out! This is an early developer preview of Python 3.14 Major new features of the 3.14 series, compared to 3.13 Python 3.14 is still in development. This release, 3.14.0a2 is the second of seven planned alpha releases. Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. During the alpha phase, features may be added up until the start of the beta phase (2025-05-06) and, if n...

1 inbound link website en release