gh-123619: Fix PyUnstable_Object_EnableDeferredRefcount()#151260
gh-123619: Fix PyUnstable_Object_EnableDeferredRefcount()#151260vstinner wants to merge 1 commit into
Conversation
Return 0 if the object is not tracked by the GC.
|
I propose backporting the fix to 3.14 and 3.15 branches. Enabling deferred refcount on an object which is not tracked by the GC can lead to nasty bugs. |
test_ssl failed. So far, I failed to reproduce the issue locally. I built Python with |
I created #151268 to log the output when a TSAN test fails. |
ZeroIntensity
left a comment
There was a problem hiding this comment.
test_ssl being thread-unsafe is a known issue. This looks right.
|
I created #151277 for the TSan+test_ssl issue. |
Return 0 if the object is not tracked by the GC.