Staging
v0.5.1
v0.5.1
https://github.com/python/cpython
Revision 89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0 authored by Serhiy Storchaka on 19 December 2018, 15:11:02 UTC, committed by GitHub on 19 December 2018, 15:11:02 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 838645d
Tip revision: 89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0 authored by Serhiy Storchaka on 19 December 2018, 15:11:02 UTC
[2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)
[2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)
Tip revision: 89b5ea2
File | Mode | Size |
---|---|---|
Carbon | ||
lib-scriptpackages | ||
Audio_mac.py | -rw-r--r-- | 3.4 KB |
EasyDialogs.py | -rw-r--r-- | 30.0 KB |
FrameWork.py | -rw-r--r-- | 36.7 KB |
MiniAEFrame.py | -rw-r--r-- | 6.4 KB |
PixMapWrapper.py | -rw-r--r-- | 7.9 KB |
aepack.py | -rw-r--r-- | 12.0 KB |
aetools.py | -rw-r--r-- | 11.2 KB |
aetypes.py | -rw-r--r-- | 14.7 KB |
applesingle.py | -rw-r--r-- | 4.8 KB |
appletrawmain.py | -rw-r--r-- | 2.0 KB |
appletrunner.py | -rwxr-xr-x | 745 bytes |
argvemulator.py | -rw-r--r-- | 3.0 KB |
bgenlocations.py | -rw-r--r-- | 2.0 KB |
buildtools.py | -rw-r--r-- | 14.0 KB |
bundlebuilder.py | -rwxr-xr-x | 33.0 KB |
cfmfile.py | -rw-r--r-- | 5.6 KB |
dialogs.rsrc | -rw-r--r-- | 17.7 KB |
errors.rsrc | -rw-r--r-- | 84.8 KB |
findertools.py | -rw-r--r-- | 29.5 KB |
gensuitemodule.py | -rw-r--r-- | 43.4 KB |
ic.py | -rw-r--r-- | 7.7 KB |
icopen.py | -rw-r--r-- | 2.0 KB |
macerrors.py | -rw-r--r-- | 113.9 KB |
macostools.py | -rw-r--r-- | 4.0 KB |
macresource.py | -rw-r--r-- | 4.5 KB |
pimp.py | -rw-r--r-- | 42.3 KB |
terminalcommand.py | -rw-r--r-- | 1.5 KB |
videoreader.py | -rw-r--r-- | 10.2 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...