Files
cpython/Python
Serhiy Storchaka 89b5ea297d [2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)
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 99d56b5356)

Co-authored-by: Zackery Spytz <zspytz@gmail.com>
2018-12-19 17:11:02 +02:00
..
2012-03-22 10:39:16 -04:00
2010-12-11 04:25:57 +00:00
2013-01-19 14:58:38 -05:00
2016-09-15 01:50:53 +00:00
2017-01-09 11:10:41 +01:00