<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/arraymodule.c, branch 2.3</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.3</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/arraymodule.c?h=2.3'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2008-03-02T20:32:57Z</updated>
<entry>
<title>Backport of r61180:</title>
<updated>2008-03-02T20:32:57Z</updated>
<author>
<name>Martin v. Löwis</name>
<email>martin@v.loewis.de</email>
</author>
<published>2008-03-02T20:32:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d254ca8813986ac72f39fdac90fdf8f63904c28e'/>
<id>urn:sha1:d254ca8813986ac72f39fdac90fdf8f63904c28e</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>Backport SF bug #782369:  Massive memory leak in array module</title>
<updated>2003-08-06T06:55:09Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-08-06T06:55:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=dc72e5683ed2df8004077842b51efc72a8f54307'/>
<id>urn:sha1:dc72e5683ed2df8004077842b51efc72a8f54307</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".
</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>
<entry>
<title>SF Patch 685051:  fix for 680789: reprs in arraymodule</title>
<updated>2003-04-23T17:27:00Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-04-23T17:27:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=88ba1e39ecf32d0a2328358351fff3006a5b30b9'/>
<id>urn:sha1:88ba1e39ecf32d0a2328358351fff3006a5b30b9</id>
<content type='text'>
(contributed by logistix; substantially reworked by rhettinger).

To create a representation of non-string arrays, array_repr() was
starting with a base Python string object and repeatedly using +=
to concatenate the representation of individual objects.

Logistix had the idea to convert to an intermediate tuple form and
then join it all at once.  I took advantage of existing tools and
formed a list with array_tolist() and got its representation through
PyObject_Repr(v) which already has a fast implementation for lists.
</content>
</entry>
<entry>
<title>Renamed PyObject_GenericGetIter to PyObject_SelfIter</title>
<updated>2003-03-17T19:46:11Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T19:46:11Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b'/>
<id>urn:sha1:1da1dbf4586afbd6b5d5c3cf244a1a3ea0f4382b</id>
<content type='text'>
to more accurately describe what the function does.

Suggested by Thomas Wouters.
</content>
</entry>
<entry>
<title>Created PyObject_GenericGetIter().</title>
<updated>2003-03-17T08:35:49Z</updated>
<author>
<name>Raymond Hettinger</name>
<email>python@rcn.com</email>
</author>
<published>2003-03-17T08:35:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e0cce8f8f00bf2c070cb1f564d950d62530df377'/>
<id>urn:sha1:e0cce8f8f00bf2c070cb1f564d950d62530df377</id>
<content type='text'>
Factors out the common case of returning self.
</content>
</entry>
<entry>
<title>SF patch #687598, array.append is sloooow</title>
<updated>2003-02-24T02:08:42Z</updated>
<author>
<name>Neal Norwitz</name>
<email>nnorwitz@gmail.com</email>
</author>
<published>2003-02-24T02:08:42Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=937ca98e34bae0a0007c1cb728a90bdc9b315391'/>
<id>urn:sha1:937ca98e34bae0a0007c1cb728a90bdc9b315391</id>
<content type='text'>
This improves speed by about 5.6% for me.
</content>
</entry>
<entry>
<title>Patch #676837: Cygwin array module patch</title>
<updated>2003-02-10T20:45:47Z</updated>
<author>
<name>Jason Tishler</name>
<email>jason@tishler.net</email>
</author>
<published>2003-02-10T20:45:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8437570ec2208d3f94dca0902ccd72a617ebdc3b'/>
<id>urn:sha1:8437570ec2208d3f94dca0902ccd72a617ebdc3b</id>
<content type='text'>
The attached patch enables the array module
to build cleanly under Cygwin again.
</content>
</entry>
</feed>
