• Victor Stinner's avatar
    bpo-35961: Fix a crash in slice_richcompare() (GH-11830) · dcb68f47
    Victor Stinner authored
    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).
    dcb68f47
2019-02-12-20-16-34.bpo-35961.7f7Sne.rst 127 Bytes