<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/sysmodule.c, branch v1.5.2b2</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>_PySys_Init(): Nailed small memory leak.  The stringobject created for</title>
<updated>1999-01-27T16:33:19+00:00</updated>
<author>
<name>Barry Warsaw</name>
<email>barry@python.org</email>
</author>
<published>1999-01-27T16:33:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=54892c4b2cac50cc698be2ebede663b781cf4a37'/>
<id>54892c4b2cac50cc698be2ebede663b781cf4a37</id>
<content type='text'>
sys.version was missing a Py_XDECREF().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sys.version was missing a Py_XDECREF().
</pre>
</div>
</content>
</entry>
<entry>
<title>Jim Ahlstrom patch: the module doc string is too long for 16-bit VC</title>
<updated>1999-01-14T19:07:00+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-14T19:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a71b5f4e1d39cda3d78a20a1c41056d362c56630'/>
<id>a71b5f4e1d39cda3d78a20a1c41056d362c56630</id>
<content type='text'>
1.5.  Omit the second part.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
1.5.  Omit the second part.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add sys.hexversion, which is an integer encoding the version in hexadecimal.</title>
<updated>1999-01-03T12:55:39+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1999-01-03T12:55:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e0d7dae3b8008b5037df6cb212ca6efacf7a012d'/>
<id>e0d7dae3b8008b5037df6cb212ca6efacf7a012d</id>
<content type='text'>
In other words, hex(sys.hexversion) == 0x010502b2 for Python 1.5.2b2.
This is derived from the new variable PY_VERSION_HEX defined in patchlevel.h.
(Cute, eh?)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In other words, hex(sys.hexversion) == 0x010502b2 for Python 1.5.2b2.
This is derived from the new variable PY_VERSION_HEX defined in patchlevel.h.
(Cute, eh?)
</pre>
</div>
</content>
</entry>
<entry>
<title>Patches for mywrite() by Marc Lemburg: save/restore the error state</title>
<updated>1998-10-12T18:22:10+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-10-12T18:22:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8442af35fe337a81efa83952574c5ca0dbcc2883'/>
<id>8442af35fe337a81efa83952574c5ca0dbcc2883</id>
<content type='text'>
reliably; check return value of vsprintf().
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
reliably; check return value of vsprintf().
</pre>
</div>
</content>
</entry>
<entry>
<title>Gack.  The module doc string is too long for VC++ 5.0.</title>
<updated>1998-08-06T03:34:39+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-08-06T03:34:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=40552d0857486782bb5be8f85d6f59375ca6d0b2'/>
<id>40552d0857486782bb5be8f85d6f59375ca6d0b2</id>
<content type='text'>
However two string literals concatenated are fine!
Hope this doesn't break other platforms.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
However two string literals concatenated are fine!
Hope this doesn't break other platforms.
</pre>
</div>
</content>
</entry>
<entry>
<title>Added doc strings.  Maybe the doc string for the module itself is a bit</title>
<updated>1998-06-27T19:43:25+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-06-27T19:43:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c3bc31e249b3eb8bc17cf60532e333f9673130e9'/>
<id>c3bc31e249b3eb8bc17cf60532e333f9673130e9</id>
<content type='text'>
long, but it sure helps!
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
long, but it sure helps!
</pre>
</div>
</content>
</entry>
<entry>
<title>New APIs to write to sys.stdout or sys.stderr using a printf-like interface.</title>
<updated>1998-05-12T14:59:24+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-05-12T14:59:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a890e688076d323baa8aef5b5da4bc6a60ad3adc'/>
<id>a890e688076d323baa8aef5b5da4bc6a60ad3adc</id>
<content type='text'>
Adapted from code submitted by Just van Rossum.

   PySys_WriteStdout(format, ...)
   PySys_WriteStderr(format, ...)

      The first function writes to sys.stdout; the second to sys.stderr.  When
      there is a problem, they write to the real (C level) stdout or stderr;
      no exceptions are raised (but a pending exception may be cleared when a
      new exception is caught).

      Both take a printf-style format string as their first argument followed
      by a variable length argument list determined by the format string.

      *** WARNING ***

      The format should limit the total size of the formatted output string to
      1000 bytes.  In particular, this means that no unrestricted "%s" formats
      should occur; these should be limited using "%.&lt;N&gt;s where &lt;N&gt; is a
      decimal number calculated so that &lt;N&gt; plus the maximum size of other
      formatted text does not exceed 1000 bytes.  Also watch out for "%f",
      which can print hundreds of digits for very large numbers.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Adapted from code submitted by Just van Rossum.

   PySys_WriteStdout(format, ...)
   PySys_WriteStderr(format, ...)

      The first function writes to sys.stdout; the second to sys.stderr.  When
      there is a problem, they write to the real (C level) stdout or stderr;
      no exceptions are raised (but a pending exception may be cleared when a
      new exception is caught).

      Both take a printf-style format string as their first argument followed
      by a variable length argument list determined by the format string.

      *** WARNING ***

      The format should limit the total size of the formatted output string to
      1000 bytes.  In particular, this means that no unrestricted "%s" formats
      should occur; these should be limited using "%.&lt;N&gt;s where &lt;N&gt; is a
      decimal number calculated so that &lt;N&gt; plus the maximum size of other
      formatted text does not exceed 1000 bytes.  Also watch out for "%f",
      which can print hundreds of digits for very large numbers.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make backup copies of stdin, stdout, stderr as __stdin__, __stdout__,</title>
<updated>1998-02-19T20:53:06+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1998-02-19T20:53:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bd36dbaaa53929e1bd8609e734c7a0fa128b7bd2'/>
<id>bd36dbaaa53929e1bd8609e734c7a0fa128b7bd2</id>
<content type='text'>
__stderr__.  These will be used by the import cleanup.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
__stderr__.  These will be used by the import cleanup.
</pre>
</div>
</content>
</entry>
<entry>
<title>Get rid of another reference to _PyImport_Inittab (now a static array)</title>
<updated>1997-11-04T17:04:34+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-11-04T17:04:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=25c649fdf2e9326fd897ac9707d5041e151a8161'/>
<id>25c649fdf2e9326fd897ac9707d5041e151a8161</id>
<content type='text'>
that should be PyImport_Inittab (a new pointer initialized to point to
the array).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
that should be PyImport_Inittab (a new pointer initialized to point to
the array).
</pre>
</div>
</content>
</entry>
<entry>
<title>Get DLL version from a variable.</title>
<updated>1997-09-29T23:34:23+00:00</updated>
<author>
<name>Guido van Rossum</name>
<email>guido@python.org</email>
</author>
<published>1997-09-29T23:34:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6c1e5f2033ff9b1cfe6bda1da4ac6e3c88a47240'/>
<id>6c1e5f2033ff9b1cfe6bda1da4ac6e3c88a47240</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
