<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/sysmodule.c, branch v2.5.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/sysmodule.c?h=v2.5.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/sysmodule.c?h=v2.5.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2007-04-16T06:12:02Z</updated>
<entry>
<title>SF #1701207: svnversion_init assertion failed</title>
<updated>2007-04-16T06:12:02Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2007-04-16T06:12:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152'/>
<id>urn:sha1:16b7b53ad072fa0a4e9f22c9ac02a1a0a28b6152</id>
<content type='text'>
Revert bogus asserts (added to the wrong place) from rev 52501.

Approved by Anthony.
</content>
</entry>
<entry>
<title>Backport trunk revision 53527:</title>
<updated>2007-01-23T13:54:30Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2007-01-23T13:54:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e471317a084512d558fd3bfd84592a6a7126cdee'/>
<id>urn:sha1:e471317a084512d558fd3bfd84592a6a7126cdee</id>
<content type='text'>
SF patch #1630975: Fix crash when replacing sys.stdout in sitecustomize

When running the interpreter in an environment that would cause it to set
stdout/stderr/stdin's encoding, having a sitecustomize that would replace
them with something other than PyFile objects would crash the interpreter.
Fix it by simply ignoring the encoding-setting for non-files.

This could do with a test, but I can think of no maintainable and portable
way to test this bug, short of adding a sitecustomize.py to the buildsystem
and have it always run with it (hmmm....)
</content>
</entry>
<entry>
<title>Backport 52501:</title>
<updated>2006-10-28T21:36:37Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-10-28T21:36:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5fdf0da2151527b9f7625e41ac40cfdceb0f8f3'/>
<id>urn:sha1:b5fdf0da2151527b9f7625e41ac40cfdceb0f8f3</id>
<content type='text'>
Add some asserts.  In sysmodule, I think these were to try to silence
some warnings from Klokwork.  They verify the assumptions of the format
of svn version output.

The assert in the thread module helped debug a problem on HP-UX.
</content>
</entry>
<entry>
<title>Forward-port of r52136: a review of overflow-detecting code.</title>
<updated>2006-10-04T11:44:06Z</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-10-04T11:44:06Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4b63c21d6faebc406260733c16b826e3e01b0d89'/>
<id>urn:sha1:4b63c21d6faebc406260733c16b826e3e01b0d89</id>
<content type='text'>
* unified the way intobject, longobject and mystrtoul handle
  values around -sys.maxint-1.

* in general, trying to entierely avoid overflows in any computation
  involving signed ints or longs is extremely involved.  Fixed a few
  simple cases where a compiler might be too clever (but that's all
  guesswork).

* more overflow checks against bad data in marshal.c.

* 2.5 specific: fixed a number of places that were still confusing int
  and Py_ssize_t.  Some of them could potentially have caused
  "real-world" breakage.

* list.pop(x): fixing overflow issues on x was messy.  I just reverted
  to PyArg_ParseTuple("n"), which does the right thing.  (An obscure
  test was trying to give a Decimal to list.pop()... doesn't make
  sense any more IMHO)

* trying to write a few tests...
</content>
</entry>
<entry>
<title>Handle allocation failures gracefully.  Found with failmalloc.</title>
<updated>2006-07-21T05:32:28Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-07-21T05:32:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e1fdb32ff2bb1f4b46b56fc1de03f8016bc6c780'/>
<id>urn:sha1:e1fdb32ff2bb1f4b46b56fc1de03f8016bc6c780</id>
<content type='text'>
Many (all?) of these could be backported.
</content>
</entry>
<entry>
<title>After approval from Anthony, merge the tim-current_frames</title>
<updated>2006-07-10T21:08:24Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-07-10T21:08:24Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32a8361f2da758c1de662b6d5a1b780466e18cf9'/>
<id>urn:sha1:32a8361f2da758c1de662b6d5a1b780466e18cf9</id>
<content type='text'>
branch into the trunk.  This adds a new sys._current_frames()
function, which returns a dict mapping thread id to topmost
thread stack frame.
</content>
</entry>
<entry>
<title>_PySys_Init():  It's rarely a good idea to size a buffer to the</title>
<updated>2006-06-06T00:25:07Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-06-06T00:25:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=02f1d0dc78aefa9a15fc6291fe2631f67f2fa6ef'/>
<id>urn:sha1:02f1d0dc78aefa9a15fc6291fe2631f67f2fa6ef</id>
<content type='text'>
exact maximum size someone guesses is needed.  In this case, if
we're really worried about extreme integers, then "cp%d" can
actually need 14 bytes (2 for "cp" + 1 for \0 at the end +
11 for -(2**31-1)).  So reserve 128 bytes instead -- nothing is
actually saved by making a stack-local buffer tiny.
</content>
</entry>
<entry>
<title>Add 3 more bytes to a buffer to cover constants in string and null byte on top of 10 possible digits for an int.</title>
<updated>2006-06-05T23:51:55Z</updated>
<author>
<name>Brett Cannon</name>
<email>bcannon@gmail.com</email>
</author>
<published>2006-06-05T23:51:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4f7a7220c1f019ced1b82b475115470df6fc3e69'/>
<id>urn:sha1:4f7a7220c1f019ced1b82b475115470df6fc3e69</id>
<content type='text'>
Closes bug #1501223.
</content>
</entry>
<entry>
<title>Make use of METH_O and METH_NOARGS where possible.</title>
<updated>2006-05-29T21:04:52Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2006-05-29T21:04:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96a8c3954cbdb186bc567a490dad8987508ce268'/>
<id>urn:sha1:96a8c3954cbdb186bc567a490dad8987508ce268</id>
<content type='text'>
Use Py_UnpackTuple instead of PyArg_ParseTuple where possible.
</content>
</entry>
<entry>
<title>C++ compiler cleanup: extern "C" a couple declarations, cast int to size_t</title>
<updated>2006-04-18T00:55:46Z</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2006-04-18T00:55:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=53a6d1de831a4d25cebf7b957b52c42d1e9e8bdb'/>
<id>urn:sha1:53a6d1de831a4d25cebf7b957b52c42d1e9e8bdb</id>
<content type='text'>
</content>
</entry>
</feed>
