[Python-Dev] PEP 447: add type.__locallookup__
Jan Kaliszewski
zuo at chopin.edu.pl
Mon Sep 9 20:23:40 CEST 2013
Is '__locallookup__' a really good name? In Python, *local* --
especially in context of *lookups* -- usually associates with locals()
i.e. a namespace of a function/method execution frame or a namespace of
a class, during *definition* of that class... So '__locallookup__' can
be confusing.
Why not just '__getclassattribute__' or '__classlookup__', or
'__classattribute__'...?
Cheers.
*j
More information about the Python-Dev
mailing list