bpo-38588: Fix possible crashes in dict and list when calling PyObject_RichCompareBool (GH-17734)
Take strong references before calling PyObject_RichCompareBool to protect against the case where the object dies during the call.
D
Dong-hee Na committed
2d5bf568eaa5059402ccce9ba5a366986ba27c8a
Parent: ee9ff05
Committed by Pablo Galindo <Pablogsal@gmail.com>
on 12/31/2019, 1:04:22 AM