<div dir="ltr"><div>I think in any case Type is a bad name, since we now have typing.Type (and it is completely different) I could imagine a lot of confusion.<br><br>--<br></div><div>Ivan<br></div><div><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 25 June 2016 at 00:17, Eric Snow <span dir="ltr"><<a href="mailto:ericsnowcurrently@gmail.com" target="_blank">ericsnowcurrently@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Fri, Jun 24, 2016 at 1:50 PM, Nick Coghlan <<a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>> wrote:<br>
> Honestly though, I'm not sure this additional user-visible complexity<br>
> is worth it - "The default type metaclass has this new behaviour" is a<br>
> lot easier to document and explain than "We added a new opt-in<br>
> alternate metaclass that you can use if you want, and in the next<br>
> version that will just become an alias for the builtin types again".<br>
> We'd also end up being stuck with types.Type and types.Object as<br>
> aliases for the type and object builtins forever (with the associated<br>
> "How does 'class name:' or 'class name(object)' differ from 'class<br>
> name(types.Object)'?" question and "It doesn't, unless you're using<br>
> Python 3.6" answer for folks learning the language for the first<br>
> time).<br>
><br>
> If we decide __init_subclass__ and __set_owner__ are good ideas, let's<br>
> just implement them, with a backport available on PyPI for folks that<br>
> want to use them on earlier versions, including in Python 2/3<br>
> compatible code.<br>
<br>
</span>+1<br>
<br>
Could you clarify the value of the staged approach over jumping<br>
straight to changing builtins.type?<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5">_______________________________________________<br>
Python-Dev mailing list<br>
<a href="mailto:Python-Dev@python.org">Python-Dev@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-dev" rel="noreferrer" target="_blank">https://mail.python.org/mailman/listinfo/python-dev</a><br>
Unsubscribe: <a href="https://mail.python.org/mailman/options/python-dev/levkivskyi%40gmail.com" rel="noreferrer" target="_blank">https://mail.python.org/mailman/options/python-dev/levkivskyi%40gmail.com</a><br>
</div></div></blockquote></div><br></div>