From 26715b08f56a617405bf32e892cccaa68b557e00 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 4 May 2022 00:40:32 +0200 Subject: [PATCH 1/3] PEP 689: Rename to "Unstable C API tier" --- pep-0689.rst | 45 ++++++++++++++++++++++----------------------- 1 file changed, 22 insertions(+), 23 deletions(-) diff --git a/pep-0689.rst b/pep-0689.rst index 67eb6f801f8..0513ddcfd21 100644 --- a/pep-0689.rst +++ b/pep-0689.rst @@ -1,5 +1,5 @@ PEP: 689 -Title: Semi-stable C API tier +Title: Unstable C API tier Author: Petr Viktorin Status: Draft Type: Standards Track @@ -13,7 +13,7 @@ Post-History: `27-Apr-2022 Date: Wed, 4 May 2022 00:48:03 +0200 Subject: [PATCH 2/3] Improve wording in Rationale as suggested by AA-Turner > The current wording is in the rationale section, which is > setting out the justification for the proposal. To me, it > seems odd to phrase it "We need because > requires , but we don't guarantee requirement. > > My suggested rephrasing more explicity spells out that we > want to support properly, there is a reason the > current state doesn't work (no guarantees at an API level > of stability), and hence is needed that provides > those guarantees. - https://github.com/python/peps/pull/2559#discussion_r860177857 --- pep-0689.rst | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/pep-0689.rst b/pep-0689.rst index 0513ddcfd21..707923ffa9f 100644 --- a/pep-0689.rst +++ b/pep-0689.rst @@ -29,9 +29,12 @@ The Python C-API is currently divided into `three tiers `, and requires deprecation warnings before changes - Private (internal) API, which can change at any time. -We need a tier between Public and Private to accommodate tools like -advanced debuggers and JIT compilers, which need access to CPython -internals but assume the C-API they use does not change in patch releases. +Tools requring access to CPython internals (e.g. advanced +debuggers and JIT compilers) are often built for minor series releases +of CPython, and assume that the C-API interals used do not change +in patch releases. To support these tools, we need a tier between the +Public and Private C-API, with guarantees on stability throughout +the minor-series release. Setting Stability Expectations From 94f8ee8cd88a5aee3113c55171baf19855b27e8d Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 4 May 2022 09:24:23 +0200 Subject: [PATCH 3/3] Update pep-0689.rst Co-authored-by: Jelle Zijlstra --- pep-0689.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pep-0689.rst b/pep-0689.rst index 707923ffa9f..adaaeef76c0 100644 --- a/pep-0689.rst +++ b/pep-0689.rst @@ -31,7 +31,7 @@ The Python C-API is currently divided into `three tiers