<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules, branch v2.4.4</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>Backport 50567</title>
<updated>2006-10-10T16:20:41+00:00</updated>
<author>
<name>Anthony Baxter</name>
<email>anthonybaxter@gmail.com</email>
</author>
<published>2006-10-10T16:20:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=3d62ffe0fa549508ea939a74e97b0248a84561f6'/>
<id>3d62ffe0fa549508ea939a74e97b0248a84561f6</id>
<content type='text'>
#1494314: Fix a regression with high-numbered sockets in 2.4.3. This
means that select() on sockets &gt; FD_SETSIZE (typically 1024) work again.
The patch makes sockets use poll() internally where available.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
#1494314: Fix a regression with high-numbered sockets in 2.4.3. This
means that select() on sockets &gt; FD_SETSIZE (typically 1024) work again.
The patch makes sockets use poll() internally where available.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport r45505, r45573, r45576</title>
<updated>2006-10-09T19:29:06+00:00</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2006-10-09T19:29:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b8f82e6febddbd534e0f08ab480367561daa0717'/>
<id>b8f82e6febddbd534e0f08ab480367561daa0717</id>
<content type='text'>
- reset errno before calling confstr - use confstr() doc to simplify
  checks afterwards
- Correct implementation and documentation of os.confstr.  Add a simple
  test case.  I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
  I tested this with valgrind on amd64.

  The man pages I found for diff architectures are inconsistent on this.
  I'm not entirely sure this change is correct for all architectures
  either.

  Perhaps we should just over-allocate and not worry about it?

The change to return None instead of "" in case of unconfigured
values has not been backported.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- reset errno before calling confstr - use confstr() doc to simplify
  checks afterwards
- Correct implementation and documentation of os.confstr.  Add a simple
  test case.  I've yet to figure out how to provoke a None return I can test.
- Address issues brought up by MvL on python-checkins.
  I tested this with valgrind on amd64.

  The man pages I found for diff architectures are inconsistent on this.
  I'm not entirely sure this change is correct for all architectures
  either.

  Perhaps we should just over-allocate and not worry about it?

The change to return None instead of "" in case of unconfigured
values has not been backported.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Partial backport of r45947 | neal.norwitz]</title>
<updated>2006-10-09T18:30:13+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-09T18:30:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=cebdc5e373e9df417b24e4f5442637f27d53f4ba'/>
<id>cebdc5e373e9df417b24e4f5442637f27d53f4ba</id>
<content type='text'>
Fix problems found by Coverity.

_ssl.c: under fail: self is DECREF'd, but it would have been NULL.

_csv.c: I'm not sure if lineterminator could have been anything other than
a string.  However, other string method calls are checked, so check this
one too.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix problems found by Coverity.

_ssl.c: under fail: self is DECREF'd, but it would have been NULL.

_csv.c: I'm not sure if lineterminator could have been anything other than
a string.  However, other string method calls are checked, so check this
one too.
</pre>
</div>
</content>
</entry>
<entry>
<title>Port of universal binary support for Mac OSX from python 2.5. This takes away</title>
<updated>2006-10-08T17:41:25+00:00</updated>
<author>
<name>Ronald Oussoren</name>
<email>ronaldoussoren@mac.com</email>
</author>
<published>2006-10-08T17:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=392cafba4fb899f8a205f7962302b77db8c61980'/>
<id>392cafba4fb899f8a205f7962302b77db8c61980</id>
<content type='text'>
the need for the out-of-tree universal binary support that was used to build
the 2.4.3 installer.

Missing here relative to that tree are some changes to IDLE, IMHO those patches
aren't appropriate for the 2.4 branch and users are better of using 2.5's IDLE.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
the need for the out-of-tree universal binary support that was used to build
the 2.4.3 installer.

Missing here relative to that tree are some changes to IDLE, IMHO those patches
aren't appropriate for the 2.4 branch and users are better of using 2.5's IDLE.
</pre>
</div>
</content>
</entry>
<entry>
<title>Backport from trunk r52223:</title>
<updated>2006-10-08T13:56:00+00:00</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2006-10-08T13:56:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2d09be9e488828876228bc435d16ee4b90a2ca08'/>
<id>2d09be9e488828876228bc435d16ee4b90a2ca08</id>
<content type='text'>
Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters.  (Submitted by Ray Chason)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Bug #1572832: fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters.  (Submitted by Ray Chason)
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport r50783 | neal.norwitz.  The bytes_left code is complicated,</title>
<updated>2006-10-05T18:49:36+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:49:36+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=da604c19923ef1fd365a0ace5bb8c6e0bbe763ce'/>
<id>da604c19923ef1fd365a0ace5bb8c6e0bbe763ce</id>
<content type='text'>
 but looks correct on a casual inspection and hasn't been modified
 in the trunk.  Does anyone want to review further?]

Ensure we don't write beyond errText.  I think I got this right, but
it definitely could use some review to ensure I'm not off by one
and there's no possible overflow/wrap-around of bytes_left.
Reported by Klocwork #1.

Fix a problem if there is a failure allocating self-&gt;db.
Found with failmalloc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 but looks correct on a casual inspection and hasn't been modified
 in the trunk.  Does anyone want to review further?]

Ensure we don't write beyond errText.  I think I got this right, but
it definitely could use some review to ensure I'm not off by one
and there's no possible overflow/wrap-around of bytes_left.
Reported by Klocwork #1.

Fix a problem if there is a failure allocating self-&gt;db.
Found with failmalloc.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Partial backport of r51218 | neal.norwitz -- the changes to ast.c, symtable.c,</title>
<updated>2006-10-05T18:37:08+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:37:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=978809518d823c6f67ed7be2563de52275ea8623'/>
<id>978809518d823c6f67ed7be2563de52275ea8623</id>
<content type='text'>
 and _elementtree.c weren't applicable]

Klocwork made another run and found a bunch more problems.
This is the first batch of fixes that should be easy to verify based on context.
This fixes problem numbers: 220 (ast), 323-324 (symtable),
321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 and _elementtree.c weren't applicable]

Klocwork made another run and found a bunch more problems.
This is the first batch of fixes that should be easy to verify based on context.
This fixes problem numbers: 220 (ast), 323-324 (symtable),
321-322 (structseq), 215 (array), 210 (hotshot), 182 (codecs), 209 (etree).
</pre>
</div>
</content>
</entry>
<entry>
<title>[Partial backport of r50773 | neal.norwitz -- other parts of this patch</title>
<updated>2006-10-05T18:22:02+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:22:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9781e5d97e4648453b6b4d011b7252c1cb05656c'/>
<id>9781e5d97e4648453b6b4d011b7252c1cb05656c</id>
<content type='text'>
 applied to pyarena.c, compile.c, and symtable.c, which were different in 2.4.]

Fix more memory allocation issues found with failmalloc.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
 applied to pyarena.c, compile.c, and symtable.c, which were different in 2.4.]

Fix more memory allocation issues found with failmalloc.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport r52147 | andrew.kuchling]</title>
<updated>2006-10-05T17:30:48+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T17:30:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=af4defb79ddec0c5db161f9b084097b843918737'/>
<id>af4defb79ddec0c5db161f9b084097b843918737</id>
<content type='text'>
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.
</pre>
</div>
</content>
</entry>
<entry>
<title>[Backport r51223 | neal.norwitz]</title>
<updated>2006-10-05T17:24:08+00:00</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T17:24:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a1ade3e925836a89e1ebacb74eb8e81d85190cd8'/>
<id>a1ade3e925836a89e1ebacb74eb8e81d85190cd8</id>
<content type='text'>
If _stat_float_times is false, we will try to INCREF ival which could be NULL.
Return early in that case.  The caller checks for PyErr_Occurred so this
should be ok.

Klocwork #297
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If _stat_float_times is false, we will try to INCREF ival which could be NULL.
Return early in that case.  The caller checks for PyErr_Occurred so this
should be ok.

Klocwork #297
</pre>
</div>
</content>
</entry>
</feed>
