cpython/Doc/c-api
Nick Coghlan d5cacbb1d9 PEP 489: Multi-phase extension module initialization
Known limitations of the current implementation:

- documentation changes are incomplete
- there's a reference leak I haven't tracked down yet

The leak is most visible by running:

  ./python -m test -R3:3 test_importlib

However, you can also see it by running:

  ./python -X showrefcount

Importing the array or _testmultiphase modules, and
then deleting them from both sys.modules and the local
namespace shows significant increases in the total
number of active references each cycle. By contrast,
with _testcapi (which continues to use single-phase
initialisation) the global refcounts stabilise after
a couple of cycles.
2015-05-23 22:24:10 +10:00
..
abstract.rst
allocation.rst Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:12:45 +02:00
apiabiversion.rst Remove row-spanning cell, which the Sphinx text writer does not support. 2013-03-16 08:01:49 +01:00
arg.rst Doc clarification / edification on the semantics of the 'w*' format unit. 2015-04-13 11:30:56 -04:00
bool.rst
buffer.rst Whitespace. 2015-02-01 19:46:31 +01:00
bytearray.rst #23088: Clarify null termination of bytes and strings in C API. 2015-05-13 20:31:53 -04:00
bytes.rst #23088: Clarify null termination of bytes and strings in C API. 2015-05-13 20:31:53 -04:00
capsule.rst
cell.rst
code.rst Issue #14090: fix some minor C API problems in default branch (3.3) 2012-06-03 08:07:47 +03:00
codec.rst Issue #19676: Tweak documentation a bit. 2014-11-25 18:59:20 +02:00
complex.rst
concrete.rst C API doc: try to group concrete objects 2013-11-07 22:05:48 +01:00
conversion.rst Issue #14090: fix some minor C API problems in default branch (3.3) 2012-06-03 08:07:47 +03:00
datetime.rst
descriptor.rst
dict.rst Closes #18456: Doc fix: PyDict_Update only works with dict-like objects, not key-value sequences. Patch by priyapappachan. 2014-03-25 09:34:30 +01:00
exceptions.rst merge 3.4 (#23221) 2015-01-13 09:20:31 -05:00
file.rst Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
float.rst
function.rst
gcsupport.rst Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:12:45 +02:00
gen.rst
import.rst Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
index.rst Introduce support for documenting which C API elements are not part of the stable/limited API. 2013-10-12 19:54:30 +02:00
init.rst merge 3.4 (#23221) 2015-01-13 09:20:31 -05:00
intro.rst Clean up references to the no longer existing PyString_ APIs in our docs. 2013-03-22 13:43:30 -07:00
iter.rst Issue #19005: Fix documentation for PyIter_Next(). 2013-10-09 22:42:46 -07:00
iterator.rst
list.rst
long.rst Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
mapping.rst Issue #1772673: The type of `char*` arguments now changed to `const char*`. 2013-10-19 21:03:34 +03:00
marshal.rst Issue #19428: Document that PyMarshal_ReadLongFromFile() and 2015-03-18 13:58:49 +01:00
memory.rst Merge: #23957: fix typo. 2015-04-14 16:42:49 -04:00
memoryview.rst
method.rst
module.rst PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
none.rst
number.rst PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) 2014-04-09 23:55:56 -04:00
objbuffer.rst
object.rst Fixed a typo. 2015-05-02 19:24:41 +03:00
objimpl.rst
refcounting.rst
reflection.rst
sequence.rst Issue #23081: Document that PySequence_List also accepts iterables. 2015-03-13 02:55:45 +02:00
set.rst Issue 19195: Improved cross-references in C API documentation. 2013-10-09 13:26:17 +03:00
slice.rst
stable.rst Introduce support for documenting which C API elements are not part of the stable/limited API. 2013-10-12 19:54:30 +02:00
structures.rst Regenerated pydoc-topics and fixed bad/suspicious doc markup for Python 3.5.0a4. 2015-04-19 13:50:12 -07:00
sys.rst Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename 2014-08-01 12:28:48 +02:00
tuple.rst Merge in all documentation changes since branching 3.4.0rc1. 2014-03-15 21:13:56 -07:00
type.rst Clean up the docs of PyObject_IsSubclass and PyObject_IsInstance, and mention that they call the PEP 3119 methods. 2014-10-06 14:38:53 +02:00
typeobj.rst Issue 24180: Fixes by Berker Peksag. 2015-05-21 17:02:31 -04:00
unicode.rst Merge: #23088: Clarify null termination of bytes and strings in C API. 2015-05-13 20:32:19 -04:00
utilities.rst
veryhigh.rst Issue #20500: Note other public APIs with the new assertion 2014-02-09 12:00:01 +10:00
weakref.rst