From f919c15a3376efb8244ecdf1ce47f8dfaa7e3878 Mon Sep 17 00:00:00 2001 From: Petr Viktorin Date: Tue, 21 Oct 2025 10:07:27 +0200 Subject: [PATCH] PEP 743: Remove redundant section and use correct replacement for _Py_T_OBJECT --- peps/pep-0743.rst | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/peps/pep-0743.rst b/peps/pep-0743.rst index dab3cae0a4d..9405733b035 100644 --- a/peps/pep-0743.rst +++ b/peps/pep-0743.rst @@ -110,13 +110,6 @@ known issues at once, rather than do codebase-wide sweeps for a single kind of issue, so that we avoid multiple renames of the same function. -Adding the ``Py`` prefix ------------------------- - -An opt-in macro allows us to omit definitions that could clash with -third-party libraries. - - Specification ============= @@ -255,7 +248,7 @@ The following API will be omitted with ``Py_OMIT_LEGACY_API`` set: ``_PyThreadState_UncheckedGet()`` ``PyThreadState_GetUnchecked()`` ``_PyUnicode_AsString()`` ``PyUnicode_AsUTF8()`` ``_Py_HashPointer()`` ``Py_HashPointer()`` - ``_Py_T_OBJECT`` ``Py_T_OBJECT_EX`` + ``_Py_T_OBJECT`` (``tp_getset``; docs to be written) ``_Py_WRITE_RESTRICTED`` (no longer needed) ==================================== ==============================