]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport of rev 2.199 from trunk.
authorGuido van Rossum <guido@python.org>
Wed, 19 Feb 2003 03:21:21 +0000 (03:21 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Feb 2003 03:21:21 +0000 (03:21 +0000)
commit2f3fe91ddce75a6f1a461506796e396f2fc225e5
tree3459ef6f9b418dd55fc1f91a75656d80f9709ccc
parente6c6163f46ecbc1668caf250a46bb03329f0504d
Backport of rev 2.199 from trunk.

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!
Objects/object.c