• Kevin Modzelewski's avatar
    Fix subclasses of threading.local · 433aa81e
    Kevin Modzelewski authored
    Surprisingly, setting tp_getattr and tp_getattro have pretty different behavior;
    we can kind of make tp_getattro work with subclassing but apparently don't
    do very will with tp_getattr.
    
    Punt on fixing that for now and switch thread._local to use getattro
    
    Class slot handling is getting pretty messy
    433aa81e
types.h 29.4 KB