Re: [Python-Dev] PEP 544: Protocols

2017年3月21日 11:08:14 -0700

On 21 March 2017 at 18:03, Brett Cannon <[email protected]> wrote:
> I do think it's fine, though, to make it very clear that whether you
> subclass or not makes absolutely no difference to tools validating the type
> soundness of the code.
>
There are two places where PEP draft says:
"Note that there is no conceptual difference between explicit and implicit
subtypes"
and
"The general philosophy is that protocols are mostly like regular ABCs, but
a static type checker will handle them specially."
Do you want to propose alternative wording for these, or would you rather
like an additional statement?
--
Ivan
_______________________________________________
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