summaryrefslogtreecommitdiff
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>2003-02-19 03:19:29 +0000
committerGuido van Rossum <guido@python.org>2003-02-19 03:19:29 +0000
commit90195e2616288d6dfdb9a081edaab684fd59ef7e (patch)
tree14d9ea31446583d2e3cd2bf6e92d1208301adb45 /Python/sysmodule.c
parent3b5de4db92db06dbd9a32826fdbdb751f3e5054f (diff)
downloadcpython-git-90195e2616288d6dfdb9a081edaab684fd59ef7e.tar.gz
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.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions