[issue18181] PEP447: Add type.__locallookup__
Ronald Oussoren added the comment: Updated the patch for PEP 442. -- Added file: http://bugs.python.org/file31107/issue-18181-full-v4.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18181] PEP447: Add type.__locallookup__
Ronald Oussoren added the comment: * Improved docmentation * __locallookup__ is now called unconditionally, the attribute lookup cache is now disabled when aType.__locallookup__ != type.__locallookup__ This gives a slightly nicer API (the only reason the new method was optional was due to an implementation detail in _PyType_Lookup) -- Added file: http://bugs.python.org/file31071/issue-18181-full-v3.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue18181] PEP447: Add type.__locallookup__
Ronald Oussoren added the comment: The crash was due to a bug in the test extension. Fixed in version 2b. -- title: Add type.__locallookup__ - PEP447: Add type.__locallookup__ Added file: http://bugs.python.org/file31014/issue-18181-full-v2b.txt ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue18181 ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com