From cf7845bb491c5a1402ed6cae61e26d4beec80df3 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Wed, 18 Mar 2026 14:13:35 +0100 Subject: [PATCH] PEP 820: Add "endorsements" --- peps/pep-0820.rst | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/peps/pep-0820.rst b/peps/pep-0820.rst index 45e59262f4f..61060e306ac 100644 --- a/peps/pep-0820.rst +++ b/peps/pep-0820.rst @@ -100,6 +100,33 @@ Limited forward compatibility versions. +Endorsements +------------ + +This PEP is unusual in that it doesn't immediately help end users -- it needs +to be in place well before it starts being helpful. +In the words of a Cython maintainer, +`Da Woods `__: + + I suspect Cython wouldn’t immediately use it (at least for classes… obviously + if it goes into PEP 793 then we would for that). + Just because it’s mostly targeted at future improvements rather than an + immediate new feature. It looks usable though. + +Instead, support comes from core devs who'll need change the C API, and want +do so in backwards-compatible ways: + +- `Mark Shannon `__: + + This seems like a worthwhile improvement. Count me as a +1 + +- `Victor Stinner `__: + + I changed my mind and I’m now a supporter of PEP 820 :) + It took me a while but I now see the PEP 820 advantages: it enhances the + backward compatibility and the stable ABI. + + Example =======