<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/modsupport.c, branch v2.5.4</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>Forward-port of r52136: a review of overflow-detecting code.</title>
<updated>2006-10-04T11:44:06+00:00</updated>
<author>
<name>Armin Rigo</name>
<email>arigo@tunes.org</email>
</author>
<published>2006-10-04T11:44:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4b63c21d6faebc406260733c16b826e3e01b0d89'/>
<id>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>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* 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...
</pre>
</div>
</content>
</entry>
<entry>
<title>C++ compiler cleanup: migrate to modsupport.h</title>
<updated>2006-04-18T00:53:48+00:00</updated>
<author>
<name>Skip Montanaro</name>
<email>skip@pobox.com</email>
</author>
<published>2006-04-18T00:53:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7ff54e7706032f0e2559e12c7217b528714eef0f'/>
<id>7ff54e7706032f0e2559e12c7217b528714eef0f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make Py_BuildValue, PyObject_CallFunction and</title>
<updated>2006-04-14T09:08:42+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-14T09:08:42+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5cb6936672a1410f5502d754570bc548064f9dc4'/>
<id>5cb6936672a1410f5502d754570bc548064f9dc4</id>
<content type='text'>
PyObject_CallMethod aware of PY_SSIZE_T_CLEAN.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PyObject_CallMethod aware of PY_SSIZE_T_CLEAN.
</pre>
</div>
</content>
</entry>
<entry>
<title>Replace INT_MAX with PY_SSIZE_T_MAX.</title>
<updated>2006-04-13T07:52:27+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-04-13T07:52:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b1ed7fac12fe51080c06e518a9fcaa21f0734744'/>
<id>b1ed7fac12fe51080c06e518a9fcaa21f0734744</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Make mktuple consistent with mklist to get rid of Coverity warnings.  Also use macro version of SetItem since we know everything is setup.</title>
<updated>2006-03-16T08:20:19+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-16T08:20:19+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=4fe4ed2525602b03b787b013366184631926c530'/>
<id>4fe4ed2525602b03b787b013366184631926c530</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Try to cleanup the error handling a bit so there aren't false positives</title>
<updated>2006-03-06T23:07:34+00:00</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2006-03-06T23:07:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e90fa5940f7086f8617038524fe108bd58d627a'/>
<id>3e90fa5940f7086f8617038524fe108bd58d627a</id>
<content type='text'>
from static analysis.  v was already checked for NULL above, so we don't
need a second check.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
from static analysis.  v was already checked for NULL above, so we don't
need a second check.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix more memory leaks. Will backport to 2.4.</title>
<updated>2006-03-01T21:33:54+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-03-01T21:33:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0b300be8957557b64e7d4a630ca5197b9224ac76'/>
<id>0b300be8957557b64e7d4a630ca5197b9224ac76</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use Py_ssize_t to count the</title>
<updated>2006-02-16T14:37:16+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-16T14:37:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=d96ee909934f3855135589e0e8d6ece1912c1f22'/>
<id>d96ee909934f3855135589e0e8d6ece1912c1f22</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge ssize_t branch.</title>
<updated>2006-02-15T17:27:45+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-02-15T17:27:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=18e165558b24d29e7e0ca501842b9236589b012a'/>
<id>18e165558b24d29e7e0ca501842b9236589b012a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>do_mkvalue(), 'I' and 'k' cases:  squash legitimate</title>
<updated>2005-12-24T06:23:41+00:00</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2005-12-24T06:23:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=35c3f4f249409a99295764d77fdc043920a26827'/>
<id>35c3f4f249409a99295764d77fdc043920a26827</id>
<content type='text'>
compiler warnings about mixing signed and unsigned types
in comparisons.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
compiler warnings about mixing signed and unsigned types
in comparisons.
</pre>
</div>
</content>
</entry>
</feed>
