Staging
v0.5.1
https://github.com/python/cpython
Revision a78251e2d6de37f46c230be924032a87df730761 authored by Miss Islington (bot) on 13 February 2019, 11:49:34 UTC, committed by GitHub on 13 February 2019, 11:49:34 UTC

Fix a crash in slice_richcompare(): use strong references rather than
stolen references for the two temporary internal tuples.

The crash (or assertion error) occurred if a garbage collection
occurred during slice_richcompare(), especially while calling
PyObject_RichCompare(t1, t2, op).
(cherry picked from commit dcb68f47f74b0cc8a1896d4a4c5a6b83c0bbeeae)

Co-authored-by: Victor Stinner <vstinner@redhat.com>
1 parent 00cc0fe
History
Tip revision: a78251e2d6de37f46c230be924032a87df730761 authored by Miss Islington (bot) on 13 February 2019, 11:49:34 UTC
bpo-35961: Fix a crash in slice_richcompare() (GH-11830)
Tip revision: a78251e
File Mode Size
.azure-pipelines
.github
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
m4
.gitattributes -rw-r--r-- 1.6 KB
.gitignore -rw-r--r-- 1.5 KB
.travis.yml -rw-r--r-- 6.0 KB
CODE_OF_CONDUCT.rst -rw-r--r-- 631 bytes
LICENSE -rw-r--r-- 12.5 KB
Makefile.pre.in -rw-r--r-- 62.0 KB
README.rst -rw-r--r-- 9.9 KB
aclocal.m4 -rw-r--r-- 10.7 KB
config.guess -rwxr-xr-x 43.1 KB
config.sub -rwxr-xr-x 35.4 KB
configure -rwxr-xr-x 491.8 KB
configure.ac -rw-r--r-- 163.9 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 42.2 KB
setup.py -rw-r--r-- 99.7 KB

README.rst

back to top