mirror of
https://github.com/python/cpython.git
synced 2026-05-13 16:08:19 -04:00
327a36a4f9
We need to write to `ob_ref_local` and `ob_tid` before `ob_ref_shared`.
Once we mark `ob_ref_shared` as merged, some other thread may free the
object because the caller also passes in `-1` as `extra` to give up its
only reference.
(cherry picked from commit 4055577221)
Co-authored-by: Sam Gross <colesbury@gmail.com>
Source files for various builtin objects