On 29 August 2017 at 23:18, Yury Selivanov <yselivanov...@gmail.com> wrote:
> On Tue, Aug 29, 2017 at 5:01 AM, Nick Coghlan <ncogh...@gmail.com> wrote:
> [..]
>> P.S. And I say that as a reader who correctly guessed why you had
>> changed the method name in the current iteration of the proposal. I'm
>> sympathetic to those reasons, but I think sticking with the
>> conventional API will make this one easier to learn and use :)
>
> Yeah, I agree.  We'll switch lookup -> get in the next iteration.
>
> Guido's parallel with getattr/setattr/delattr is also useful. getattr
> can also lookup the attribute in base classes, but we still call it
> "get".

True, in many ways attribute inheritance is Python's original ChainMap
implementation :)

Cheers,
Nick.

-- 
Nick Coghlan   |   ncogh...@gmail.com   |   Brisbane, Australia
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to