mirror of
https://github.com/python/cpython.git
synced 2026-06-02 09:38:14 -04:00
1e1de1cf35
test for getattribute==NULL was bogus because it always found object.__getattribute__. Pick it apart using the trick we learned from slot_sq_item, and if it's just a wrapper around PyObject_GenericGetAttr, zap it. Also added a long XXX comment explaining the consequences.