cpython/Objects
Jeffrey Yasskin 960b9b7a2f Move abc._Abstract into object by adding a new flag Py_TPFLAGS_IS_ABSTRACT,
which forbids constructing types that have it set. The effect is to speed

  ./python.exe -m timeit -s 'import abc' -s 'class Foo(object): __metaclass__ = abc.ABCMeta' 'Foo()'

up from 2.5us to 0.201us. This fixes issue 1762.
2008-02-28 04:45:36 +00:00
..
stringlib Corrected assert to check for correct type in py3k. 2008-02-24 21:41:49 +00:00
abstract.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
boolobject.c Add a bunch of GIL release/acquire points in tp_print implementations and for 2007-09-17 03:28:34 +00:00
bufferobject.c Coverity #151: Remove deadcode. 2007-10-04 06:00:48 +00:00
cellobject.c Prevent a crash with nested scopes, again caused by calling Py_DECREF when the pointer 2008-02-16 20:55:24 +00:00
classobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
cobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
codeobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
complexobject.c Fixed repr() and str() of complex numbers. Complex suffered from the same problem as floats but I forgot to test and fix them. 2008-02-15 06:57:08 +00:00
descrobject.c Issue #2115: __slot__ attributes setting was 10x slower. 2008-02-15 21:22:45 +00:00
dictnotes.txt Patch #1397848: add the reasoning behind no-resize-on-shrinkage. 2007-02-15 09:51:35 +00:00
dictobject.c Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. 2008-02-24 12:26:16 +00:00
doubledigits.c Backport of r59456:59458 from py3k to trunk 2007-12-10 22:28:56 +00:00
enumobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
exceptions.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
fileobject.c #2067: file.__exit__() now calls subclasses' close() method. 2008-02-23 15:11:18 +00:00
floatobject.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
frameobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
funcobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
genobject.c #1473257: add generator.gi_code attribute that refers to 2008-01-26 14:14:20 +00:00
intobject.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
iterobject.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
listobject.c Use PY_FORMAT_SIZE_T instead of z for string formatting. Thanks Neal. 2008-02-24 12:26:16 +00:00
listsort.txt typo fix 2006-08-01 16:24:30 +00:00
longobject.c Backport of PEP 3101, Advanced String Formatting, from py3k. 2008-02-17 19:46:49 +00:00
methodobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
moduleobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
object.c Fix test67.py from issue #1303614. 2008-01-24 17:58:05 +00:00
obmalloc.c PEP 3123: Provide forward compatibility with Python 3.0, while keeping 2007-07-21 06:55:02 +00:00
rangeobject.c Remove unnecessary modulo division. 2008-02-08 22:30:04 +00:00
setobject.c dict.copy() rises from the ashes. Revert r60687. 2008-02-12 19:05:36 +00:00
sliceobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00
stringobject.c Issue 1742669. Now %d accepts very big float numbers. 2008-02-24 03:17:21 +00:00
structseq.c Temporarily revert 59967 until GC can be added. 2008-01-15 05:39:59 +00:00
tupleobject.c Implemented Martin's suggestion to clear the free lists during the garbage collection of the highest generation. 2008-02-14 12:47:33 +00:00
typeobject.c Move abc._Abstract into object by adding a new flag Py_TPFLAGS_IS_ABSTRACT, 2008-02-28 04:45:36 +00:00
unicodectype.c Patch 1494554: Update numeric properties to Unicode 4.1. 2006-05-27 08:36:52 +00:00
unicodeobject.c Issue 1742669. Now %d accepts very big float numbers. 2008-02-24 03:17:21 +00:00
unicodetype_db.h Update Unicode database to Unicode 4.1. 2006-03-09 23:38:20 +00:00
weakrefobject.c #1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFCNT. Macros for b/w compatibility are available. 2007-12-19 02:37:44 +00:00