Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 8b7d8ac09cc0f736d0c3a39d838814d7ae253021 authored by Miss Islington (bot) on 08 December 2018, 14:34:49 UTC, committed by GitHub on 08 December 2018, 14:34:49 UTC
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 <zspytz@gmail.com>
1 parent ee2c5a8
Tip revision: 8b7d8ac09cc0f736d0c3a39d838814d7ae253021 authored by Miss Islington (bot) on 08 December 2018, 14:34:49 UTC
bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)
bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033)
Tip revision: 8b7d8ac
File | Mode | Size |
---|---|---|
clinic | ||
stringlib | ||
README | -rw-r--r-- | 41 bytes |
abstract.c | -rw-r--r-- | 66.8 KB |
accu.c | -rw-r--r-- | 2.4 KB |
boolobject.c | -rw-r--r-- | 6.5 KB |
bytearrayobject.c | -rw-r--r-- | 69.2 KB |
bytes_methods.c | -rw-r--r-- | 22.4 KB |
bytesobject.c | -rw-r--r-- | 98.7 KB |
call.c | -rw-r--r-- | 37.0 KB |
capsule.c | -rw-r--r-- | 7.3 KB |
cellobject.c | -rw-r--r-- | 4.4 KB |
classobject.c | -rw-r--r-- | 17.9 KB |
codeobject.c | -rw-r--r-- | 27.3 KB |
complexobject.c | -rw-r--r-- | 32.3 KB |
descrobject.c | -rw-r--r-- | 55.1 KB |
dict-common.h | -rw-r--r-- | 2.2 KB |
dictnotes.txt | -rw-r--r-- | 6.0 KB |
dictobject.c | -rw-r--r-- | 129.1 KB |
enumobject.c | -rw-r--r-- | 13.3 KB |
exceptions.c | -rw-r--r-- | 85.8 KB |
fileobject.c | -rw-r--r-- | 14.9 KB |
floatobject.c | -rw-r--r-- | 71.1 KB |
frameobject.c | -rw-r--r-- | 34.2 KB |
funcobject.c | -rw-r--r-- | 29.5 KB |
genobject.c | -rw-r--r-- | 64.9 KB |
iterobject.c | -rw-r--r-- | 9.0 KB |
listobject.c | -rw-r--r-- | 95.1 KB |
listsort.txt | -rw-r--r-- | 35.3 KB |
lnotab_notes.txt | -rw-r--r-- | 5.7 KB |
longobject.c | -rw-r--r-- | 166.4 KB |
memoryobject.c | -rw-r--r-- | 88.9 KB |
methodobject.c | -rw-r--r-- | 9.2 KB |
moduleobject.c | -rw-r--r-- | 23.3 KB |
namespaceobject.c | -rw-r--r-- | 7.2 KB |
object.c | -rw-r--r-- | 61.9 KB |
obmalloc.c | -rw-r--r-- | 84.3 KB |
odictobject.c | -rw-r--r-- | 73.1 KB |
rangeobject.c | -rw-r--r-- | 34.3 KB |
setobject.c | -rw-r--r-- | 73.3 KB |
sliceobject.c | -rw-r--r-- | 19.2 KB |
structseq.c | -rw-r--r-- | 13.1 KB |
tupleobject.c | -rw-r--r-- | 29.9 KB |
typeobject.c | -rw-r--r-- | 238.8 KB |
typeslots.inc | -rw-r--r-- | 3.9 KB |
typeslots.py | -rwxr-xr-x | 1.2 KB |
unicodectype.c | -rw-r--r-- | 7.5 KB |
unicodeobject.c | -rw-r--r-- | 453.8 KB |
unicodetype_db.h | -rw-r--r-- | 241.6 KB |
weakrefobject.c | -rw-r--r-- | 29.5 KB |
Computing file changes ...