[Python-Dev] PEP 447: add type.locallookup (original) (raw)
Jan Kaliszewski zuo at chopin.edu.pl
Mon Sep 9 20:23:40 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 ]
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
- 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 ]