cpython/Objects
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
..
clinic Issue #24007: Argument Clinic now writes the format of PyArg_Parse*() at the 2015-04-24 00:40:51 +03:00
stringlib Fixed typos in comments. 2015-05-18 22:20:18 +03:00
README Issue #18093: Factor out the programs that embed the runtime 2014-07-25 21:52:14 +10:00
abstract.c merge 2015-05-17 14:47:00 -07:00
accu.c Issue #14387: Do not include accu.h from Python.h. 2012-03-22 14:38:16 +01:00
boolobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
bytearrayobject.c Issue #23985: Fix a possible buffer overrun when deleting a slice from the front of a bytearray and then appending some other bytes data. 2015-05-19 20:55:42 +02:00
bytes_methods.c Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:25:42 +02:00
bytesobject.c Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview. 2015-04-25 23:22:26 +00:00
capsule.c Issue #2443: Added a new macro, Py_VA_COPY, which is equivalent to C99 2010-08-11 17:31:17 +00:00
cellobject.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
classobject.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
codeobject.c Issue #18874: PyCode_New() now ensures that the filename is a ready Unicode 2013-10-10 15:55:14 +02:00
complexobject.c Issue #22896: Avoid to use PyObject_AsCharBuffer(), PyObject_AsReadBuffer() 2015-02-03 01:25:42 +02:00
descrobject.c Issue #24064: Help property() support GC 2015-05-13 11:12:33 -07:00
dictnotes.txt Issue #15055: update dictnotes.txt. Patch by Mark Shannon. 2012-06-24 21:03:45 +02:00
dictobject.c PEP 448: additional unpacking generalizations (closes #2292) 2015-05-05 20:16:41 -04:00
enumobject.c Issue #14288: Serialization support for builtin iterators. 2012-04-03 10:49:41 +00:00
exceptions.c PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
fileobject.c stdprinter_write(): mention the encoding 2015-03-24 13:40:29 +01:00
floatobject.c Issue 19933: Provide default argument for ndigits in round. Patch by Vajrasky Kok. 2015-04-15 16:10:59 -04:00
frameobject.c PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
funcobject.c Issue #18520: Fix PyFunction_NewWithQualName() error handling 2013-07-22 23:04:55 +02:00
genobject.c Issue 24237: Raise PendingDeprecationWarning per PEP 479 2015-05-22 11:16:47 -04:00
iterobject.c Issue #23985: Fixed integer overflow in iterator object. Patch by 2015-05-21 20:51:53 +03:00
listobject.c merge 3.4 (#24044) 2015-04-23 17:06:45 -04:00
listsort.txt Various clarifications based on feedback & questions over the years. 2013-08-24 15:15:19 -05:00
lnotab_notes.txt Merged revisions 72487-72488,72879 via svnmerge from 2009-07-21 04:30:03 +00:00
longobject.c Issue #22486: Added the math.gcd() function. The fractions.gcd() function now is 2015-05-13 00:19:51 +03:00
memoryobject.c Implements issue #9951: Adds a hex() method to bytes, bytearray, & memoryview. 2015-04-25 23:22:26 +00:00
methodobject.c Merge 3.4 2015-04-27 17:49:16 +03:00
moduleobject.c PEP 489: Multi-phase extension module initialization 2015-05-23 22:24:10 +10:00
namespaceobject.c Issue #24257: Fixed incorrect uses of PyObject_IsInstance(). 2015-05-22 11:02:49 +03:00
object.c Issue #21293: Remove unnecessary "capsule hack". 2015-03-02 08:44:51 -08:00
obmalloc.c Issue #23450: Fixed possible integer overflows. 2015-02-16 20:52:17 +02:00
rangeobject.c merge 3.4 (#22785) 2015-04-22 09:16:27 -04:00
setobject.c Minor stylistic and consistency cleanup. 2015-05-13 01:44:36 -07:00
sliceobject.c Make Ellipsis and NotImplemented picklable through the reduce protocol. 2013-11-24 02:53:45 -08:00
structseq.c Issue #18520: Add a new PyStructSequence_InitType2() function, same than 2013-07-22 22:24:54 +02:00
tupleobject.c Issue #23629: Fix the default __sizeof__ implementation for variable-sized objects. 2015-03-10 22:35:24 +01:00
typeobject.c PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
typeslots.inc PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
typeslots.py PEP 0492 -- Coroutines with async and await syntax. Issue #24017. 2015-05-11 22:57:16 -04:00
unicodectype.c Removed unintentional trailing spaces in non-external and non-generated C files. 2015-03-18 21:53:15 +02:00
unicodeobject.c Fix some compilation warnings when using gcc (-Wmaybe-uninitialized). 2015-05-19 21:06:04 +02:00
unicodetype_db.h upgrade to unicode 7.0.0 2014-07-06 13:04:20 -07:00
weakrefobject.c Issue #23783: Fixed memory leak in PyObject_ClearWeakRefs() in case of 2015-03-30 09:52:29 +03:00

README

Source files for various builtin objects