# Bug report ### Bug description: It shouldbe dereferenced after the write is done, not before. ### CPython versions tested on: CPython main branch ### Operating systems tested on: macOS <!-- gh-linked-prs --> ### Linked PRs * gh-142402 * gh-142524 <!-- /gh-linked-prs -->