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 |
---|---|---|
sqlite3 | ||
capsulethunk.h | -rw-r--r-- | 3.3 KB |
email-alternative.py | -rwxr-xr-x | 1.3 KB |
email-dir.py | -rw-r--r-- | 4.2 KB |
email-headers.py | -rw-r--r-- | 571 bytes |
email-mime.py | -rw-r--r-- | 914 bytes |
email-simple.py | -rw-r--r-- | 672 bytes |
email-unpack.py | -rw-r--r-- | 1.8 KB |
minidom-example.py | -rw-r--r-- | 1.5 KB |
mp_benchmarks.py | -rw-r--r-- | 5.4 KB |
mp_newtype.py | -rw-r--r-- | 2.2 KB |
mp_pool.py | -rw-r--r-- | 6.9 KB |
mp_synchronize.py | -rw-r--r-- | 6.0 KB |
mp_webserver.py | -rw-r--r-- | 2.0 KB |
mp_workers.py | -rw-r--r-- | 2.0 KB |
noddy.c | -rw-r--r-- | 1.7 KB |
noddy2.c | -rw-r--r-- | 4.9 KB |
noddy3.c | -rw-r--r-- | 5.9 KB |
noddy4.c | -rw-r--r-- | 5.4 KB |
run-func.c | -rw-r--r-- | 1.9 KB |
setup.py | -rw-r--r-- | 329 bytes |
shoddy.c | -rw-r--r-- | 2.6 KB |
test.py | -rw-r--r-- | 3.7 KB |
typestruct.h | -rw-r--r-- | 2.0 KB |
tzinfo-examples.py | -rw-r--r-- | 4.9 KB |
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...