• Victor Stinner's avatar
    bpo-35961: Fix a crash in slice_richcompare() (GH-11830) · dcb68f47
    Victor Stinner yazdı
    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
sliceobject.c 19.1 KB