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
apiabiversion.rst
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
codec.rst Issue #19676: Tweak documentation a bit. 2014-11-25 18:59:20 +02:00
complex.rst
concrete.rst
conversion.rst
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
float.rst
function.rst
gcsupport.rst
gen.rst
import.rst Issue #23731: Implement PEP 488. 2015-04-13 14:21:02 -04:00
index.rst
init.rst merge 3.4 (#23221) 2015-01-13 09:20:31 -05:00
intro.rst
iter.rst
iterator.rst
list.rst
long.rst
mapping.rst
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
slice.rst
stable.rst
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