[Python-Dev] PEP 447: add type.locallookup (original) (raw)
Steven D'Aprano steve at pearwood.info
Fri Sep 13 01:08:21 CEST 2013
- Previous message: [Python-Dev] PEP 447: add type.__locallookup__
- Next message: [Python-Dev] PEP 447: add type.__locallookup__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Thu, Sep 12, 2013 at 04:42:39PM +0200, Ronald Oussoren wrote:
I don't particularly like locallookup either, but haven't found a better name yet. "lookupinclass" was the best alternative I could come up with, and that feels different than other special methods. The name in the PEP is more or less derived from PyTypeLookup, with "local" meaning "only in this class, don't recurse in the rest of the MRO".
How about typelookup ? Surely that's the obvious name to derive from _PyType_Lookup :-)
-- Steven
- Previous message: [Python-Dev] PEP 447: add type.__locallookup__
- Next message: [Python-Dev] PEP 447: add type.__locallookup__
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]