]> 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:52:47 +0000 (03:52 +0000)
committerGuido van Rossum <guido@python.org>
Wed, 19 Feb 2003 03:52:47 +0000 (03:52 +0000)
commit841569f9a363e1562557c19901e3c8670c942d4a
treed0f9736fd1b48d08e42af92e203b081ea6aa9b79
parent2f3fe91ddce75a6f1a461506796e396f2fc225e5
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!
Misc/NEWS