[Python-checkins] r87049 - peps/trunk/pep-0384.txt

martin.v.loewis python-checkins at python.org
Sat Dec 4 17:42:07 CET 2010


Author: martin.v.loewis
Date: Sat Dec  4 17:42:07 2010
New Revision: 87049

Log:
Add structseq support.
Incorporate 3149 support.
Mark as final.


Modified:
   peps/trunk/pep-0384.txt

Modified: peps/trunk/pep-0384.txt
==============================================================================
--- peps/trunk/pep-0384.txt	(original)
+++ peps/trunk/pep-0384.txt	Sat Dec  4 17:42:07 2010
@@ -3,7 +3,7 @@
 Version: $Revision$
 Last-Modified: $Date$
 Author: Martin v. Löwis <martin at v.loewis.de>
-Status: Draft
+Status: Final
 Type: Standards Track
 Content-Type: text/x-rst
 Created: 17-May-2009
@@ -107,6 +107,8 @@
 - 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 @@
   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 @@
 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<PYTHON_ABI_VERSION> 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
 =======================


More information about the Python-checkins mailing list