noreply@sourceforge.net wrote: > Module objects currently don't define the tp_getattro > or tp_setattro slots. As a result, interning of > attribute names does them no good: a char* is always > passed, so the dict lookup always needs to do a string > compare despite that the attribute name is interned. I think this is a problem in classobject.c:generic_binary_op as well. PyObject_GetAttrString is always used. I believe the old code interned names like "__add__" and used PyObject_GetAttr. Is it worth fixing this? Neil
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4