<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/arraymodule.c, branch 2.4</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=2.4</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=2.4'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-07-28T05:22:45Z</updated>
<entry>
<title>Backport r65182.  This change modified from using the unsigned max value</title>
<updated>2008-07-28T05:22:45Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2008-07-28T05:22:45Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=46b3a79459934a09eaf00caf7e36b20717afc09f'/>
<id>urn:sha1:46b3a79459934a09eaf00caf7e36b20717afc09f</id>
<content type='text'>
to the signed max value similar to 2.5 and trunk.

Issue #2620: Overflow checking when allocating or reallocating memory
was not always being done properly in some python types and extension
modules.  PyMem_MALLOC, PyMem_REALLOC, PyMem_NEW and PyMem_RESIZE have
all been updated to perform better checks and places in the code that
would previously leak memory on the error path when such an allocation
failed have been fixed.
</content>
</entry>
<entry>
<title>Backport of r60793:</title>
<updated>2008-03-02T19:20:32Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-03-02T19:20:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c8ed4ff565d527dfb4449a9a8473c0f8424a071f'/>
<id>urn:sha1:c8ed4ff565d527dfb4449a9a8473c0f8424a071f</id>
<content type='text'>
Added checks for integer overflows, contributed by Google. Some are
only available if asserts are left in the code, in cases where they
can't be triggered from Python code.
</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 of rev. 42093 by neal.norwitz]</title>
<updated>2006-09-27T19:17:32Z</updated>
<author>
<name>Andrew M. Kuchling</name>
<email>amk@amk.ca</email>
</author>
<published>2006-09-27T19:17:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e7031223e36c43ccd47321b3ff8997c1423e2b9c'/>
<id>urn:sha1:e7031223e36c43ccd47321b3ff8997c1423e2b9c</id>
<content type='text'>
Check return result from Py_InitModule*().  This API can fail.

Probably should be backported.
</content>
</entry>
<entry>
<title>Backport trunk's revision 51565:</title>
<updated>2006-08-24T18:55:01Z</updated>
<author>
<name>Thomas Wouters</name>
<email>thomas@python.org</email>
</author>
<published>2006-08-24T18:55:01Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ba8522ad28a444e89ccfe6d6fe1e57824fc94a96'/>
<id>urn:sha1:ba8522ad28a444e89ccfe6d6fe1e57824fc94a96</id>
<content type='text'>
Fix SF bug #1545837: array.array borks on deepcopy.
array.__deepcopy__() needs to take an argument, even if it doesn't actually
use it. Will backport to 2.5 and 2.4 (if applicable.)
</content>
</entry>
<entry>
<title>Backport r42894: SF #1444030 Fix several potential defects found</title>
<updated>2006-03-07T15:59:09Z</updated>
<author>
<name>Hye-Shik Chang</name>
<email>hyeshik@gmail.com</email>
</author>
<published>2006-03-07T15:59:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=361cd4bd6c9c2d56ed154922e016c47d4bee9482'/>
<id>urn:sha1:361cd4bd6c9c2d56ed154922e016c47d4bee9482</id>
<content type='text'>
by Coverity.
</content>
</entry>
<entry>
<title>Disallow keyword arguments for type constructors that don't use them</title>
<updated>2005-08-26T06:43:16Z</updated>
<author>
<name>Georg Brandl</name>
<email>georg@python.org</email>
</author>
<published>2005-08-26T06:43:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=66e75ac6e092fd1b5b9a7e9378928c9ec0829f32'/>
<id>urn:sha1:66e75ac6e092fd1b5b9a7e9378928c9ec0829f32</id>
<content type='text'>
(fixes #1119418).
</content>
</entry>
<entry>
<title>SF feature request #992967:  array.array objects should support sequences.</title>
<updated>2004-08-29T07:50:43Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-08-29T07:50:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6ab78cd0c055462af4f5a6c59b9f310a83734c45'/>
<id>urn:sha1:6ab78cd0c055462af4f5a6c59b9f310a83734c45</id>
<content type='text'>
Made the constructor accept general iterables.
</content>
</entry>
<entry>
<title>Add weakref support to array.array and file objects.</title>
<updated>2004-05-31T00:35:52Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-05-31T00:35:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa'/>
<id>urn:sha1:cb87bc8e7ee3a2ffd83dd1b12fcfa1c01aa740aa</id>
<content type='text'>
</content>
</entry>
<entry>
<title>SF feature request #686323:  Minor array module enhancements</title>
<updated>2004-03-14T05:43:59Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-14T05:43:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=49f9bd15ffeef67358a319f89faeaa31ad97d575'/>
<id>urn:sha1:49f9bd15ffeef67358a319f89faeaa31ad97d575</id>
<content type='text'>
array.extend() now accepts iterable arguments implements as a series
of appends.  Besides being a user convenience and matching the behavior
for lists, this the saves memory and cycles that would be used to
create a temporary array object.
</content>
</entry>
</feed>
