<br><br><div class="gmail_quote">On Sun, Apr 6, 2008 at 10:56 AM, Brett Cannon &lt;<a href="mailto:brett@python.org">brett@python.org</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="Ih2E3d">On Sun, Apr 6, 2008 at 2:45 PM, Benjamin Peterson<br>
&lt;<a href="mailto:musiccomposition@gmail.com">musiccomposition@gmail.com</a>&gt; wrote:<br>
<br>
&gt; 1. Data and functions that are available in all Python implementations and<br>
&gt; deal<br>
&gt; &nbsp; &nbsp;with the general running of a Python VM.<br>
&gt;<br>
&gt; &nbsp; &nbsp;- argv<br>
&gt; &nbsp; &nbsp;- byteorder<br>
&gt; &nbsp; &nbsp;- builtin_module_names, path, and modules<br>
<br>
</div>I still think builtin_module_names should be moved. There is no<br>
guarantee other VMs have a concept of a built-in module.</blockquote><div>Done. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>

<div class="Ih2E3d"><br>
&gt; &nbsp; &nbsp; - copyright, hexversion, version, and version_info<br>
&gt; &nbsp; &nbsp;- displayhook, __displayhook__<br>
&gt; &nbsp; &nbsp;- excepthook, __excepthook__, exc_info, and exc_clear<br>
&gt; &nbsp; &nbsp;- exec_prefix and prefix<br>
&gt; &nbsp; &nbsp;- executable<br>
&gt; &nbsp; &nbsp;- exit<br>
&gt; &nbsp; &nbsp;- flags, py3kwarning, dont_write_bytecode, and warn_options<br>
&gt; &nbsp; &nbsp; - getfilesystemencoding<br>
&gt; &nbsp; &nbsp;- get/setprofile<br>
&gt; &nbsp; &nbsp;- get/settrace<br>
&gt; &nbsp; &nbsp;- getwindowsversion<br>
<br>
</div>It seems silly to have Windows-specific stuff like this in the sys<br>
module, but I don&#39;t know where else they should go.</blockquote><div>Indeed, it does. platform is the only one I can think of. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<div class="Ih2E3d"><br>
&gt; &nbsp; &nbsp;- maxint and maxunicode<br>
&gt; &nbsp; &nbsp;- platform<br>
&gt; &nbsp; &nbsp;- ps1 and ps2<br>
&gt; &nbsp; &nbsp;- stdin, stderr, stdout, __stdin__, __stderr__, __stdout__<br>
&gt; &nbsp; &nbsp; - tracebacklimit<br>
&gt;<br>
&gt;<br>
&gt; 2. Data and functions that affect the CPython interpreter.<br>
&gt;<br>
&gt; &nbsp; &nbsp;- get/setrecursionlimit<br>
&gt; &nbsp; &nbsp;- get/setcheckinterval<br>
&gt; &nbsp; &nbsp;- _getframe and _current_frame<br>
&gt; &nbsp; &nbsp;- getrefcount<br>
&gt; &nbsp; &nbsp;- get/setdlopenflags<br>
&gt; &nbsp; &nbsp; - settscdumps<br>
&gt; &nbsp; &nbsp;- api_version<br>
&gt; &nbsp; &nbsp;- winver<br>
&gt; &nbsp; &nbsp;- dllhandle<br>
&gt; &nbsp; &nbsp;- float_info<br>
&gt; &nbsp; &nbsp;- _compact_freelists<br>
&gt; &nbsp; &nbsp;- _clear_type_cache<br>
&gt; &nbsp; &nbsp;- subversion<br>
<br>
</div>There is some stuff missing from these lists, e.g., meta_path,<br>
path_importer_cache, path_hooks, call_tracing, etc. You should do a<br>
dir() in sys and fill in the missing attributes into the list.</blockquote><div>I will do that. I was looking at the 2.6 docs. <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
It&#39;s looking good, though!<br>
<font color="#888888"><br>
-Brett<br>
</font></blockquote></div><br><br clear="all"><br>-- <br>Cheers,<br>Benjamin Peterson