<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Thanks for sharing, Guido. Some random thoughts:<br>
<br>
- "classes should need to be explicitly marked as protocols"<br>
If so, why are they classes in the first place? Other languages has
dedicated keywords like "interface".<br>
<br>
- "recursive types"?<br>
Yes, please. I am very curious about how to as I am working a
similar problem. It would basically require defining of the protocol
first and then populating its member as they might use the
protocol's name. pyfu is supposed to do exactly this. But it's not
going to work 100% when metaclasses come into the game.<br>
<br>
Best,<br>
Sven<br>
<br>
<div class="moz-cite-prefix">On 09.09.2015 22:17, Guido van Rossum
wrote:<br>
</div>
<blockquote
cite="mid:CAP7+vJLLmQ8Ws4fBvzf97WLujxvY9DF+ngUAU68NF6pvTb2ttg@mail.gmail.com"
type="cite">
<div dir="ltr">Jukka wrote up a proposal for structural subtyping.
It's pretty good. Please discuss.<br>
<br>
<a moz-do-not-send="true"
href="https://github.com/ambv/typehinting/issues/11#issuecomment-138133867">https://github.com/ambv/typehinting/issues/11#issuecomment-138133867</a><br
clear="all">
<div><br>
-- <br>
<div class="gmail_signature">--Guido van Rossum (<a
moz-do-not-send="true" href="http://python.org/%7Eguido"
target="_blank">python.org/~guido</a>)</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Python-ideas mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Python-ideas@python.org">Python-ideas@python.org</a>
<a class="moz-txt-link-freetext" href="https://mail.python.org/mailman/listinfo/python-ideas">https://mail.python.org/mailman/listinfo/python-ideas</a>
Code of Conduct: <a class="moz-txt-link-freetext" href="http://python.org/psf/codeofconduct/">http://python.org/psf/codeofconduct/</a></pre>
</blockquote>
<br>
</body>
</html>