<div dir="ltr">I find this a disturbing trend. I think we have bigger fish to fry and this sounds like it could slow down startup.<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 12, 2017 at 8:35 PM, Nick Coghlan <span dir="ltr"><<a href="mailto:ncoghlan@gmail.com" target="_blank">ncoghlan@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 13 September 2017 at 09:46, Eric Snow <<a href="mailto:ericsnowcurrently@gmail.com">ericsnowcurrently@gmail.com</a>> wrote:<br>
> The sys module is a rather special case as far as modules go.  It is<br>
> effectively a "console" into the interpreter's internal state and that<br>
> includes some mutable state.  Since it is a module, we don't have much<br>
> of an opportunity to:<br>
><br>
> * validate values assigned to its attributes [1]<br>
> * issue DeprecationWarning for deprecated attrs [2]<br>
> * alias attrs [2]<br>
> * replace get (and get/set) functions with properties<br>
> * re-organize sys [3]<br>
<br>
</span>+1 from me, specifically because there are edge cases we don't<br>
generally test (e.g. folks rebinding sys.modules to nonsense), and it<br>
would be nice to be able to upgrade those from "don't do that" to "the<br>
obvious way of doing that just plain isn't allowed".<br>
<br>
Cheers,<br>
Nick.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
Nick Coghlan   |   <a href="mailto:ncoghlan@gmail.com">ncoghlan@gmail.com</a>   |   Brisbane, Australia<br>
</font></span><div class="HOEnZb"><div class="h5">______________________________<wbr>_________________<br>
Python-ideas mailing list<br>
<a href="mailto:Python-ideas@python.org">Python-ideas@python.org</a><br>
<a href="https://mail.python.org/mailman/listinfo/python-ideas" rel="noreferrer" target="_blank">https://mail.python.org/<wbr>mailman/listinfo/python-ideas</a><br>
Code of Conduct: <a href="http://python.org/psf/codeofconduct/" rel="noreferrer" target="_blank">http://python.org/psf/<wbr>codeofconduct/</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">--Guido van Rossum (<a href="http://python.org/~guido" target="_blank">python.org/~guido</a>)</div>
</div>