gh-112529: Stop the world around gc.get_referents (#114823)
We do not want to add locking in `tp_traverse` slot implementations. Instead, stop the world when calling `gc.get_referents`. Note that the the stop the world call is a no-op in the default build. Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
S
Sam Gross committed
7fdd4235d790559372bbb1bf0c2384191a9bb5f3
Parent: f7a22a7
Committed by GitHub <noreply@github.com>
on 2/6/2024, 4:45:42 PM