cpython/Objects
Guido van Rossum 90195e2616 PyObject_Generic{Get,Set}Attr:
Don't access tp_descr_{get,set} of a descriptor without checking the
flag bits of the descriptor's type.  While we know that the main type
(the type of the object whose attribute is being accessed) has all the
right flag bits (or else PyObject_Generic{Get,Set}Attr wouldn't be
called), we don't know that for its class attributes!

Will backport to 2.2.
2003-02-19 03:19:29 +00:00
..
.cvsignore Ignore a bunch of generated files. 2000-05-02 18:34:30 +00:00
abstract.c Make PyNumber_Check() a bit more careful, since all sorts of things 2003-02-18 16:36:28 +00:00
boolobject.c Make more functions static 2002-08-06 22:12:52 +00:00
bufferobject.c Call me anal, but there was a particular phrase that was speading to 2002-08-19 19:26:42 +00:00
cellobject.c Use new GC API. 2001-08-29 23:54:21 +00:00
classobject.c Refactor instancemethod_descr_get() to (a) be more clear, (b) be safe 2003-02-11 18:43:00 +00:00
cobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
complexobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
descrobject.c Put proper tests in classmethod_get(). Remove the type argument to 2003-02-11 18:44:42 +00:00
dictobject.c Add closing ) in comment 2003-02-15 14:45:12 +00:00
enumobject.c Remove the next() method -- one is supplied automatically by 2002-07-16 21:02:42 +00:00
fileobject.c SF patch #683187, fix universal newline problems on error 2003-02-09 01:10:02 +00:00
floatobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
frameobject.c Refactor the logic for setting f_builtins. 2003-02-05 22:39:29 +00:00
funcobject.c Make __module__ writable except in restricted mode (like for classic classes). 2003-02-18 17:18:35 +00:00
intobject.c Issue a warning when int('0...', 0) returns an int with the sign 2003-02-12 20:48:22 +00:00
iterobject.c Squash a few calls to the hideously expensive PyObject_CallObject(o,a) 2002-08-16 17:01:09 +00:00
listobject.c Allow list sort's comparison function to explicitly be None. See SF patch 2003-01-02 20:51:08 +00:00
listsort.txt Fixed new typos, added a little info about ~sort versus "hint"s. 2002-08-10 07:04:01 +00:00
longobject.c _PyLong_Sign(): remove an assert that needed a variable ndigits that 2003-02-03 15:28:19 +00:00
methodobject.c Make __module__ writable except in restricted mode (like for classic classes). 2003-02-18 17:18:35 +00:00
moduleobject.c Patch #568124: Add doc string macros. 2002-06-13 20:33:02 +00:00
object.c PyObject_Generic{Get,Set}Attr: 2003-02-19 03:19:29 +00:00
obmalloc.c Remove MALLOC_ZERO_RETURNS_NULL. 2002-11-23 09:13:40 +00:00
rangeobject.c Update comments about the performance of xrange(). 2002-12-11 07:14:03 +00:00
sliceobject.c SF patch #659536: Use PyArg_UnpackTuple where possible. 2002-12-29 16:33:45 +00:00
stringobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
structseq.c Removed all uses of the out-of-favor __safe_for_unpickling__ magic 2003-02-01 02:16:37 +00:00
tupleobject.c Implement appropriate __getnewargs__ for all immutable subclassable builtin 2003-01-29 17:58:45 +00:00
typeobject.c Introducing __reduce_ex__, which is called with a protocol number argument 2003-02-18 22:05:12 +00:00
unicodectype.c Make lower/upper/title work for non-BMP characters. 2002-10-18 16:40:36 +00:00
unicodeobject.c Add more missing PyErr_NoMemory() after failled memory allocs 2003-02-11 23:05:40 +00:00
unicodetype_db.h Add unidata_version. Bump generator version number. 2002-11-25 09:13:37 +00:00
weakrefobject.c Add support for the iterator protocol to weakref proxy objects. 2002-08-09 18:34:16 +00:00
xxobject.c Grammatical fix in comment. 2003-01-03 21:22:08 +00:00