[Python-Dev] 'hasattr' is broken by design