cpython/Include
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
..
Python-ast.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
Python.h Issue #22869: Split pythonrun into two modules 2014-11-20 21:39:37 +10:00
abstract.h Issue #23571: _Py_CheckFunctionResult() now gives the name of the function 2015-03-21 15:04:43 +01:00
accu.h
asdl.h
ast.h
bitset.h
bltinmodule.h
boolobject.h
bytearrayobject.h
bytes_methods.h Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:25:42 +02:00
bytesobject.h Issue20284: Implement PEP461 2015-01-23 20:05:18 -08:00
cellobject.h
ceval.h Fix warnings for PyEval_GetCoroutineWrapper 2015-05-11 23:19:34 -04:00
classobject.h
code.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
codecs.h Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
compile.h PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
complexobject.h Issue #21803: remove macro indirections in complexobject.h 2014-07-07 18:49:30 -04:00
datetime.h
descrobject.h
dictobject.h PEP 448: additional unpacking generalizations (closes #2292) 2015-05-05 20:16:41 -04:00
dtoa.h
dynamic_annotations.h fix instances of consecutive articles (closes #23221) 2015-01-13 09:17:24 -05:00
enumobject.h
errcode.h
eval.h
fileobject.h Issue #23524: Replace _PyVerify_fd function with calling _set_thread_local_invalid_parameter_handler on every thread. 2015-03-06 14:47:02 -08:00
fileutils.h Issue #23524: Replace _PyVerify_fd function with calls to _set_thread_local_invalid_parameter_handler. 2015-04-12 00:26:27 -04:00
floatobject.h
frameobject.h Issue #14432: Remove the thread state field from the frame structure. Fix a 2013-12-13 02:01:38 +01:00
funcobject.h
genobject.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
graminit.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
grammar.h Removed trailing tabs. 2015-03-21 09:25:53 +02:00
import.h
intrcheck.h
iterobject.h
listobject.h Issue #24221: Small optimizations for heapq. 2015-05-22 00:41:57 -07:00
longintrepr.h
longobject.h Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 2015-05-13 00:19:51 +03:00
marshal.h
memoryobject.h Closes #22668: Merge from 3.4. 2015-01-29 14:29:51 +01:00
metagrammar.h
methodobject.h Removed trailing whitespaces in miscalenous files. 2015-04-03 19:42:32 +03:00
modsupport.h PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
moduleobject.h PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
namespaceobject.h
node.h Removed trailing tabs. 2015-03-21 09:25:53 +02:00
object.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
objimpl.h Issue #21233: Add new C functions: PyMem_RawCalloc(), PyMem_Calloc(), 2014-05-02 22:31:14 +02:00
opcode.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
osdefs.h Issue #22591: Drop support of MS-DOS 2014-10-10 11:55:41 +02:00
parsetok.h
patchlevel.h Post-release updates for Python 3.5.0a4. 2015-04-20 01:18:10 -07:00
pgen.h
pgenheaders.h
py_curses.h
pyarena.h
pyatomic.h Issue #23644: Fix issues with C++ when compiling Python extensions 2015-03-17 22:53:27 +01:00
pycapsule.h
pyctype.h
pydebug.h Issue #22869: Split pythonrun into two modules 2014-11-20 21:39:37 +10:00
pyerrors.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
pyexpat.h
pyfpe.h
pygetopt.h
pyhash.h Issue #19526: Exclude all new API from the stable ABI. 2014-01-03 21:36:49 +01:00
pylifecycle.h Issue #22869: Split pythonrun into two modules 2014-11-20 21:39:37 +10:00
pymacconfig.h
pymacro.h Issue #21490: Add new C macros: Py_ABS() and Py_STRINGIFY() 2014-05-14 17:24:35 +02:00
pymath.h
pymem.h Issue #21233: Rename the C structure "PyMemAllocator" to "PyMemAllocatorEx" to 2014-06-02 21:57:10 +02:00
pyport.h Issue #23943: Fix typos. Patch by Piotr Kasprzyk. 2015-04-14 09:35:51 +03:00
pystate.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
pystrcmp.h
pystrhex.h Add the files missing from c9f1630cf2b1 for issue9951. 2015-04-26 00:41:00 +00:00
pystrtod.h
pythonrun.h PEP 479: Change StopIteration handling inside generators. 2015-05-09 11:44:30 -04:00
pythread.h
pytime.h Issue #23834: Fix the default socket timeout 2015-04-09 10:23:12 +02:00
rangeobject.h
setobject.h Move the set search finger before the smalltable. 2015-01-29 22:00:32 -08:00
sliceobject.h Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
structmember.h
structseq.h
symtable.h remove the concept of an unoptimized function scope from the compiler, since it can't happen anymore 2015-04-27 21:44:22 -04:00
sysmodule.h Issue #22193: Fixed integer overflow error in sys.getsizeof(). 2014-11-15 13:21:37 +02:00
token.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
traceback.h Issue #22462: Fix pyexpat's creation of a dummy frame to make it appear in exception tracebacks. 2014-10-08 20:00:09 +02:00
tupleobject.h
typeslots.h PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
ucnhash.h Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.h Issue #23908: os functions now reject paths with embedded null character 2015-04-20 10:12:28 +03:00
warnings.h Issue #19526: Exclude all new API from the stable ABI. 2014-01-03 21:36:49 +01:00
weakrefobject.h