<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects, branch v2.4.4</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=v2.4.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects?h=v2.4.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-10-09T23:37:58Z</updated>
<entry>
<title>Backport rev 51262 from trunk -- squashes a compiler warning on Windows</title>
<updated>2006-10-09T23:37:58Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-10-09T23:37:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=0af9b87953a450145a1557fc93fa4a82463263b1'/>
<id>urn:sha1:0af9b87953a450145a1557fc93fa4a82463263b1</id>
<content type='text'>
about truly wrong code.

Checkin comment from 51262:

Can't return NULL from a void function.  If there is a memory error,
about the best we can do is call PyErr_WriteUnraisable and go on.
We won't be able to do the call below either, so verify delstr is valid.
</content>
</entry>
<entry>
<title>Backport of the pieces of trunk rev 46589 relevant to</title>
<updated>2006-10-09T20:24:45Z</updated>
<author>
<name>Tim Peters</name>
<email>tim.peters@gmail.com</email>
</author>
<published>2006-10-09T20:24:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b37ea40871ec45cb1fb6d98a2696bcaf4cf6583'/>
<id>urn:sha1:2b37ea40871ec45cb1fb6d98a2696bcaf4cf6583</id>
<content type='text'>
fixing an unlikely crash bug in dict resizing, SF
bug 1456209.

The rest of rev 46589 changes whether Python suppresses
exceptions during some dict-related comparisons.  While I
think that's a good idea, it does change visible behavior at
times, and there was already some complaining about that on
the trunk.  Not a good idea for backporting.  The part of
46589 checked in here can at worst stop segfaults, and I doubt
anyone will gripe about that ;-)
</content>
</entry>
<entry>
<title>[Partial backport of r45947 | neal.norwitz]</title>
<updated>2006-10-09T18:42:49Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-09T18:42:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2fafa251dba5df1f90326a825ac6de2b6b906bc3'/>
<id>urn:sha1:2fafa251dba5df1f90326a825ac6de2b6b906bc3</id>
<content type='text'>
Fix problems found by Coverity.

longobject.c: also fix an ssize_t problem
  &lt;a&gt; could have been NULL, so hoist the size calc to not use &lt;a&gt;.

[The ssize_t change isn't needed for 2.4.  The other changes in this revision
 are to modules not present in 2.4. --amk]
</content>
</entry>
<entry>
<title>[Backport r42951 | guido.van.rossum]</title>
<updated>2006-10-09T18:19:01Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-09T18:19:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0235ae1a9a723e3465e10b91333c2e5e2a30618'/>
<id>urn:sha1:e0235ae1a9a723e3465e10b91333c2e5e2a30618</id>
<content type='text'>
Fix three nits found by Coverity, adding null checks and comments.

[This commit only makes two changes.  One change in the original patch
 is just adding a comment, and another adds a 'base != NULL' check to
 silence Coverity, but a comment adds that that base is never going to
 be NULL.  I didn't backport that change. --amk]
</content>
</entry>
<entry>
<title>[Backport r43695 | neal.norwitz]</title>
<updated>2006-10-06T19:26:14Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-06T19:26:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=78754c13ceb37117d94a0dc203ab914c4fd1c8c4'/>
<id>urn:sha1:78754c13ceb37117d94a0dc203ab914c4fd1c8c4</id>
<content type='text'>
Remove dead code (reported by HP compiler).

Can probably be backported if anyone cares.
</content>
</entry>
<entry>
<title>[Backport r50679 | neal.norwitz.  This is the last Klocwork bug to be</title>
<updated>2006-10-05T19:42:49Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:42:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3e3566937e3597651b06d95aef9b1b75d0f6899d'/>
<id>urn:sha1:3e3566937e3597651b06d95aef9b1b75d0f6899d</id>
<content type='text'>
 backported.]

Use sizeof(buffer) instead of duplicating the constants to ensure they won't
be wrong.

The real change is to pass (bufsz - 1) to PyOS_ascii_formatd and 1
to strncat.  strncat copies n+1 bytes from src (not dest).

Reported by Klocwork #58.
</content>
</entry>
<entry>
<title>[Backport r50681 | neal.norwitz]</title>
<updated>2006-10-05T19:38:17Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:38:17Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=32f378b0d925d960c3f72c0fd646c7b1b3237b5f'/>
<id>urn:sha1:32f378b0d925d960c3f72c0fd646c7b1b3237b5f</id>
<content type='text'>
PyFunction_SetDefaults() is documented as taking None or a tuple.
A NULL would crash the PyTuple_Check().  Now make NULL return a SystemError.

Reported by Klocwork #73.
</content>
</entry>
<entry>
<title>[Backport r51246 | neal.norwitz]</title>
<updated>2006-10-05T19:25:26Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T19:25:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6d0bc3e9f4ca48e43b823f7c4207d5549824a24a'/>
<id>urn:sha1:6d0bc3e9f4ca48e43b823f7c4207d5549824a24a</id>
<content type='text'>
Handle a whole lot of failures from PyString_FromInternedString().

Should fix most of Klocwork 234-272.

[Backport r51400 | neal.norwitz]

Move initialization of interned strings to before allocating the
object so we don't leak op.  (Fixes an earlier patch to this code)

Klockwork #350
</content>
</entry>
<entry>
<title>[Partial backport of r51218 | neal.norwitz -- the changes to ast.c, symtable.c,</title>
<updated>2006-10-05T18:37:08Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:37:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=978809518d823c6f67ed7be2563de52275ea8623'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>[Backport r50743 | neal.norwitz]</title>
<updated>2006-10-05T18:08:58Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-10-05T18:08:58Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8a28c164308f2683ba4f934ef5d2d4c3e574ba3c'/>
<id>urn:sha1:8a28c164308f2683ba4f934ef5d2d4c3e574ba3c</id>
<content type='text'>
Handle allocation failures gracefully.  Found with failmalloc.
Many (all?) of these could be backported.
</content>
</entry>
</feed>
