• Guido van Rossum's avatar
    Backport of rev 2.199 from trunk. · 2f3fe91d
    Guido van Rossum yazdı
    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!
    2f3fe91d
object.c 47.8 KB