cpython/Objects
Armin Rigo 89a39461bf Wrote down the invariants of some common objects whose structure is
exposed in header files.  Fixed a few comments in these headers.

As we might have expected, writing down invariants systematically exposed a
(minor) bug.  In this case, function objects have a writeable func_code
attribute, which could be set to code objects with the wrong number of
free variables.  Calling the resulting function segfaulted the interpreter.
Added a corresponding test.
2004-10-28 16:32:00 +00:00
..
.cvsignore
abstract.c SF bug #1030557: PyMapping_Check crashes when argument is NULL 2004-09-19 06:00:15 +00:00
boolobject.c
bufferobject.c Ensure negative offsets cannot be passed to buffer(). When composing 2004-09-24 19:17:26 +00:00
cellobject.c
classobject.c A static swapped_op[] array was defined in 3 different C files, & I think 2004-09-23 02:39:37 +00:00
cobject.c
complexobject.c Fix repr for negative imaginary part. Fixes #1013908. 2004-08-22 21:09:15 +00:00
descrobject.c
dictnotes.txt
dictobject.c
enumobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
fileobject.c
floatobject.c float_richcompare(): Use the new Py_IS_NAN macro to ensure that, on 2004-09-23 19:22:41 +00:00
frameobject.c
funcobject.c Wrote down the invariants of some common objects whose structure is 2004-10-28 16:32:00 +00:00
genobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
intobject.c Stop producing or using OverflowWarning. PEP 237 thought this would 2004-08-25 02:14:08 +00:00
iterobject.c SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes 2004-09-01 07:02:44 +00:00
listobject.c Finalize the freelist of list objects. 2004-10-07 03:58:07 +00:00
listsort.txt
longobject.c Patch #1024670: Support int objects in PyLong_AsUnsignedLong[Mask]. 2004-09-20 06:17:46 +00:00
methodobject.c
moduleobject.c Make the word "module" appear in the error string for calling the 2004-09-14 17:19:09 +00:00
object.c Remove 'extern' declaration for _Py_SwappedOp. 2004-09-25 01:37:24 +00:00
obmalloc.c
rangeobject.c
setobject.c Use Py_CLEAR(). Add unrelated test. 2004-09-28 01:51:35 +00:00
sliceobject.c
stringobject.c SF bug #1054139: serious string hashing error in 2.4b1 2004-10-26 01:52:37 +00:00
structseq.c
tupleobject.c
typeobject.c A static swapped_op[] array was defined in 3 different C files, & I think 2004-09-23 02:39:37 +00:00
unicodectype.c
unicodeobject.c Applied patch for [ 1047269 ] Buffer overwrite in PyUnicode_AsWideChar. 2004-10-15 07:45:05 +00:00
unicodetype_db.h
weakrefobject.c