<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/arraymodule.c, branch v2.4b2</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=v2.4b2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=v2.4b2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2004-08-29T07:50:43Z</updated>
<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>
<entry>
<title>Fix array.array.insert(), so that it treats negative indices as</title>
<updated>2003-05-18T03:15:10Z</updated>
<author>
<name>Walter Dörwald</name>
<email>walter@livinglogic.de</email>
</author>
<published>2003-05-18T03:15:10Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9e46abed5061729915ed39d7bb8c4d014369380e'/>
<id>urn:sha1:9e46abed5061729915ed39d7bb8c4d014369380e</id>
<content type='text'>
being relative to the end of the array, just like list.insert() does.
This closes SF bug #739313.
</content>
</entry>
<entry>
<title>SF 686323: Minor array module enhancements</title>
<updated>2003-04-24T10:41:55Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-24T10:41:55Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=84fc9aa6ce6a2113bc58db3f3a14e3d759177ab5'/>
<id>urn:sha1:84fc9aa6ce6a2113bc58db3f3a14e3d759177ab5</id>
<content type='text'>
Allows use of tuples for the initializer.
</content>
</entry>
</feed>
