[Python-Dev] PEP 447: add type.locallookup (original) (raw)

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