New GitHub issue #119799 from colesbury:<br>

<hr>

<pre>
# Bug report

@encukou noticed that the free-threaded buildbots were reporting a lot of negative refcount deltas (among other problems). This is because `_Py_NewRefWithLock` is missing a `_Py_IncRefTotal` (although it has a `_Py_INCREF_STAT_INC`).

https://github.com/python/cpython/blob/1c04c63ced5038e8f45a2aac7dc45f0815a4ddc5/Include/internal/pycore_object.h#L494-L514
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/119799">View on GitHub</a>
<p>Labels: type-bug, tests, 3.13, topic-free-threading, 3.14</p>
<p>Assignee: </p>