<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/arraymodule.c, branch zooba-patch-1</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>[2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)</title>
<updated>2018-12-19T15:11:02+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-12-19T15:11:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0'/>
<id>89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0</id>
<content type='text'>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>consistently use Py_TYPE, Py_REFCNT, and correct initializer macros (#3563)</title>
<updated>2017-09-14T04:20:29+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-09-14T04:20:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a72d15c97f9837f6c9c6bd476a62175c942cc588'/>
<id>a72d15c97f9837f6c9c6bd476a62175c942cc588</id>
<content type='text'>
This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This no-op change makes 2.7 more consistent with 3.x to ease comparison and backports.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30074: Fix compile warnings of _PySlice_Unpack and convert missed (#1154)</title>
<updated>2017-04-15T17:11:12+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-15T17:11:12+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5e79321742cb3af2184d22e2148c6756cade1864'/>
<id>5e79321742cb3af2184d22e2148c6756cade1864</id>
<content type='text'>
PySlice_GetIndicesEx in _ctypes.c.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PySlice_GetIndicesEx in _ctypes.c.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-27867: Expand the PySlice_GetIndicesEx macro. (#1023) (#1046)</title>
<updated>2017-04-08T08:48:57+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-08T08:48:57+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e41390aca51e4e3eb455cf3b70f5d656a2814db9'/>
<id>e41390aca51e4e3eb455cf3b70f5d656a2814db9</id>
<content type='text'>
(cherry picked from commit b879fe8)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit b879fe8)
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #27570: Avoid zero-length memcpy() calls with null source pointers</title>
<updated>2016-09-07T11:04:41+00:00</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-09-07T11:04:41+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=6eec87810fcf75249cb1060424f69ef5859e3fb1'/>
<id>6eec87810fcf75249cb1060424f69ef5859e3fb1</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>array.buffer_info() should return a length as int, not long, for compatibility.</title>
<updated>2016-06-24T05:38:59+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-06-24T05:38:59+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=ff0d875ad13b3db856d632a57cfea48d32af75e0'/>
<id>ff0d875ad13b3db856d632a57cfea48d32af75e0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed integer overflow and handled MemoryError in array.buffer_info().</title>
<updated>2016-06-23T21:00:32+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2016-06-23T21:00:32+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0cc5a2b263b3783adf687f41e6f77b840a39032e'/>
<id>0cc5a2b263b3783adf687f41e6f77b840a39032e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #25421: __sizeof__ methods of builtin types now use dynamic basic size.</title>
<updated>2015-12-19T18:07:48+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-12-19T18:07:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c06a6d0958e2eb4449605069b9c10d656ab756e8'/>
<id>c06a6d0958e2eb4449605069b9c10d656ab756e8</id>
<content type='text'>
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows sys.getsize() to work correctly with their subclasses with
__slots__ defined.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #24613: Calling array.fromstring() with self is no longer allowed</title>
<updated>2015-07-26T05:49:37+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-07-26T05:49:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=cf74c1996e084aa840db0782da833f640a3923e3'/>
<id>cf74c1996e084aa840db0782da833f640a3923e3</id>
<content type='text'>
to prevent the use-after-free error.  Patch by John Leitch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
to prevent the use-after-free error.  Patch by John Leitch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixed the array module in unicode disabled build (regression of issue20014).</title>
<updated>2015-05-31T08:56:48+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-05-31T08:56:48+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=dc967c137cb5e2e0f558cedbb94a13256db3fb75'/>
<id>dc967c137cb5e2e0f558cedbb94a13256db3fb75</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
