• Zackery Spytz's avatar
    bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) · 99d56b53
    Zackery Spytz yazdı
    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().
    99d56b53
Adı
Son kayıt (commit)
Son güncelleme
.azure-pipelines Loading commit data...
.github Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Programs Loading commit data...
Python Loading commit data...
Tools Loading commit data...
m4 Loading commit data...
.gitattributes Loading commit data...
.gitignore Loading commit data...
.travis.yml Loading commit data...
CODE_OF_CONDUCT.md Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README.rst Loading commit data...
aclocal.m4 Loading commit data...
config.guess Loading commit data...
config.sub Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...