cpython/Objects
Tim Peters af3e8de580 First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with
PyMem_{Del, DEL} doesn't work yet (compilation problems).

pyport.h:  _PyMem_EXTRA is gone.

pmem.h:  Repaired comments.  PyMem_{Malloc, MALLOC} and
PyMem_{Realloc, REALLOC} now make the same x-platform guarantees when
asking for 0 bytes, and when passing a NULL pointer to the latter.

object.c:  PyMem_{Malloc, Realloc} just call their macro versions
now, since the latter take care of the x-platform 0 and NULL stuff
by themselves now.

pypcre.c, grow_stack():  So sue me.  On two lines, this called
PyMem_RESIZE to grow a "const" area.  It's not legit to realloc a
const area, so the compiler warned given the new expansion of
PyMem_RESIZE.  It would have gotten the same warning before if it
had used PyMem_Resize() instead; the older macro version, but not the
function version, silently cast away the constness.  IMO that was a wrong
thing to do, and the docs say the macro versions of PyMem_xyz are
deprecated anyway.  If somebody else is resizing const areas with the
macro spelling, they'll get a warning when they recompile now too.
2002-04-12 07:22:56 +00:00
..
.cvsignore
abstract.c Fix leak of NotImplemented in previous checkin to PyNumber_Add(). 2002-03-08 21:28:54 +00:00
boolobject.c As Neal pointed out, bool_print was an order of magnitude too complex. 2002-04-04 01:00:42 +00:00
bufferobject.c Remove the CACHE_HASH and INTERN_STRINGS preprocessor symbols. 2002-03-29 03:29:08 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Be smarter about clearing the weakref lists for instances, instance methods, 2001-10-26 17:56:51 +00:00
cobject.c
complexobject.c PyObject_Del can now be used as a function designator. 2002-04-12 02:44:10 +00:00
descrobject.c PyObject_GC_Del can now be used as a function designator. 2002-04-12 02:44:22 +00:00
dictobject.c PyObject_GC_Del and PyObject_Del can now be used as a function 2002-04-12 02:43:00 +00:00
fileobject.c PyObject_Del can now be used as a function designator. 2002-04-12 02:44:10 +00:00
floatobject.c SF bug 525705: [2.2] underflow raise OverflowException. 2002-03-09 04:58:24 +00:00
frameobject.c This is Neil's fix for SF bug 535905 (Evil Trashcan and GC interaction). 2002-03-28 20:34:59 +00:00
funcobject.c PyObject_Del can now be used as a function designator. 2002-04-12 02:44:10 +00:00
intobject.c Add the 'bool' type and its values 'False' and 'True', as described in 2002-04-03 22:41:51 +00:00
iterobject.c Re-enable GC of iter objects. 2002-03-18 20:43:51 +00:00
listobject.c PyObject_GC_Del can now be used as a function designator. 2002-04-12 02:44:22 +00:00
longobject.c PyObject_Del can now be used as a function designator. 2002-04-12 02:44:10 +00:00
methodobject.c Introduce two new flag bits that can be set in a PyMethodDef method 2002-03-28 05:33:33 +00:00
moduleobject.c PyObject_GC_Del can now be used as a function designator. 2002-04-12 02:44:22 +00:00
object.c First stab at rationalizing the PyMem_ API. Mixing PyObject_xyz with 2002-04-12 07:22:56 +00:00
obmalloc.c Move PyObject_Malloc and PyObject_Free here from object.c. Remove 2002-04-12 03:10:20 +00:00
rangeobject.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 02:44:55 +00:00
sliceobject.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
stringobject.c Remove PyMalloc_New, _PyMalloc_MALLOC, and PyMalloc_Del. 2002-04-12 03:05:19 +00:00
structseq.c Remove PyMalloc_New and PyMalloc_Del. 2002-04-12 03:05:37 +00:00
tupleobject.c PyObject_GC_Del can now be used as a function designator. 2002-04-12 03:05:52 +00:00
typeobject.c Change signature of _PyObject_GC_Malloc to match PyObject_MALLOC. 2002-04-12 03:06:53 +00:00
unicodectype.c removed "register const" from scalar arguments to the unicode 2001-06-27 22:08:26 +00:00
unicodeobject.c Remove PyMalloc_*. 2002-04-12 03:07:20 +00:00
unicodetype_db.h
weakrefobject.c Remove weakref free list. This has the side effect of fixing a memory 2002-03-27 15:18:21 +00:00
xxobject.c