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

Yury Selivanov yselivanov.ml at gmail.com
Mon Sep 9 22:01:47 CEST 2013


Yes, I don't like the 'local' prefix too. How about 'dictlookup'? It's just more self-describing.

Yury

On 2013-09-09, at 2:23 PM, Jan Kaliszewski <zuo at chopin.edu.pl> wrote:

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


Python-Dev mailing list Python-Dev at python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/yselivanov.ml%40gmail.com



More information about the Python-Dev mailing list