<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/arraymodule.c, branch v2.4.3</title>
<subtitle>Python interpreter</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=v2.4.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=v2.4.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2006-03-07T15:59:09Z</updated>
<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>
<entry>
<title>Update the array overallocation scheme to match the approach used for</title>
<updated>2004-03-14T04:37:50Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-14T04:37:50Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6e2ee866fa5cac9de821921a31ad4ba76dfde8d9'/>
<id>urn:sha1:6e2ee866fa5cac9de821921a31ad4ba76dfde8d9</id>
<content type='text'>
lists.  Speeds append() operations and reduces memory requirements
(because of more conservative overallocation).

Paves the way for the feature request for array.extend() to support
arbitrary iterable arguments.
</content>
</entry>
<entry>
<title>SF bug #910986:  copy.copy fails for array.array</title>
<updated>2004-03-13T18:18:51Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2004-03-13T18:18:51Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3aa82c07f709a532de28a39308c23757d3b9c91b'/>
<id>urn:sha1:3aa82c07f709a532de28a39308c23757d3b9c91b</id>
<content type='text'>
Added support for the copy module.
</content>
</entry>
<entry>
<title>Simplify and speedup uses of Py_BuildValue():</title>
<updated>2003-10-12T19:09:37Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-10-12T19:09:37Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8ae468965700fd9900efc28bff8fa2015dae2bef'/>
<id>urn:sha1:8ae468965700fd9900efc28bff8fa2015dae2bef</id>
<content type='text'>
* Py_BuildValue("(OOO)",a,b,c)  --&gt;  PyTuple_Pack(3,a,b,c)
* Py_BuildValue("()",a)         --&gt;  PyTuple_New(0)
* Py_BuildValue("O", a)         --&gt;  Py_INCREF(a)
</content>
</entry>
<entry>
<title>SF bug #782369:  Massive memory leak in array module</title>
<updated>2003-08-05T11:23:59Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-08-05T11:23:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=85004cc47d807579a475da9f4367a62eb2fd72a2'/>
<id>urn:sha1:85004cc47d807579a475da9f4367a62eb2fd72a2</id>
<content type='text'>
Fixed leak caused by switching from PyList_GetItem to PySequence_GetItem.
Added missing NULL check.
Clarified code by converting an "if" to an "else if".

Will backport to 2.3.
</content>
</entry>
<entry>
<title>All calls to getarrayitem() (which is static) are done either in loops</title>
<updated>2003-05-23T10:01:07Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-23T10:01:07Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8bb1ae9c344249e9d22c69cd87077c5d27c3e18f'/>
<id>urn:sha1:8bb1ae9c344249e9d22c69cd87077c5d27c3e18f</id>
<content type='text'>
over the size of the array, or the callers check the index bounds themselves,
so the index check never failed =&gt; Replace it with an assert().
</content>
</entry>
</feed>
