[Python-Dev] PEP 544 and dunder methods (original) (raw)
Eric Snow ericsnowcurrently at gmail.com
Tue May 21 20:53:37 EDT 2019
- Previous message (by thread): [Python-Dev] PEP 544 and dunder methods
- Next message (by thread): [Python-Dev] Python in next Windows 10 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Tue, May 21, 2019, 12:00 Guido van Rossum <guido at python.org> 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
-------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20190521/79c45e9d/attachment.html>
- Previous message (by thread): [Python-Dev] PEP 544 and dunder methods
- Next message (by thread): [Python-Dev] Python in next Windows 10 update
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]