[Python-Dev] PEP 550 v4

Yury Selivanov yselivanov.ml at gmail.com
Tue Aug 29 09:18:21 EDT 2017


On Tue, Aug 29, 2017 at 5:01 AM, Nick Coghlan <ncoghlan at 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".

Yury


More information about the Python-Dev mailing list