From b86794e399622a9866bc03969c0e2cef8ca736c2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 4 Dec 2010 16:42:07 +0000 Subject: [PATCH] Add structseq support. Incorporate 3149 support. Mark as final. --- pep-0384.txt | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/pep-0384.txt b/pep-0384.txt index c29a64c87..df3611a8b 100644 --- a/pep-0384.txt +++ b/pep-0384.txt @@ -3,7 +3,7 @@ Title: Defining a Stable ABI Version: $Revision$ Last-Modified: $Date$ Author: Martin v. Löwis -Status: Draft +Status: Final Type: Standards Track Content-Type: text/x-rst Created: 17-May-2009 @@ -107,6 +107,8 @@ applications: - PyModuleDefBase (ob_base, m_init, m_index, m_copy) - PyModuleDef (m_base, m_name, m_doc, m_size, m_methods, m_traverse, m_clear, m_free) +- PyStructSequence_Field (name, doc) +- PyStructSequence_Desc (name, doc, fields, sequence) - PyType_Slot (see below) - PyType_Spec (see below) @@ -280,6 +282,9 @@ details are not available: PyInterpreterState_ThreadHead, PyThreadState_Next - Py_SubversionRevision, Py_SubversionShortBranch +PyStructSequence_InitType is not available, as it requires +the caller to provide a static type object. + Py_FatalError will be moved from pydebug.h into some other header file (e.g. pyerrors.h). @@ -332,6 +337,13 @@ version check for the API version will accept either 3 or the current PYTHON_API_VERSION as conforming. If Python is compiled as a shared library, it is installed as both libpython3.so, and libpython3.y.so; applications conforming to this PEP should then link to the former. +The ABI version is symbolically available as ``PYTHON_ABI_VERSION``. + +Also on Unix, the PEP 3149 tag abi is accepted +in file names of extension modules. No checking is performed that +files named in this way are actually restricted to the limited API, +and no support for building such files will be added to distutils +due to the distutils code freeze. Implementation Strategy =======================