Re: [Python-Dev] PEP 544 and dunder methods

2019年5月21日 17:56:33 -0700

On Tue, May 21, 2019, 12:00 Guido van Rossum <[email protected]> wrote:
> My guess, without delving into the implementation, is that a Protocol is
> *always* about the class, and that this is entirely a red herring.
>
I think you're right. It makes sense. I must have missed it somehow.
FYI, some protocols (like pickle) are looked up on the instance. I'm on my
phone or I'd point you to the BPO issue. :)
-eric
>
_______________________________________________
Python-Dev mailing list
[email protected]
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