8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8f187ff commit 02560daCopy full SHA for 02560da
Objects/listobject.c
@@ -647,17 +647,6 @@ list_contains(PyObject *aa, PyObject *el)
647
return 0;
648
}
649
650
-static inline PyObject *
651
-list_item_try_lock_free(PyListObject *a, Py_ssize_t i)
652
-{
653
- PyObject **ob_item = _Py_atomic_load_ptr(&a->ob_item);
654
- PyObject *item = _Py_atomic_load_ptr(&ob_item[i]);
655
- if (!item || !_Py_TryIncrefCompare(&ob_item[i], item)) {
656
- return NULL;
657
- }
658
- return item;
659
-}
660
-
661
static PyObject *
662
list_item(PyObject *aa, Py_ssize_t i)
663
{
0 commit comments