gh-115999: remove redundant check in free-threading from `_STORE_ATTR… · python/cpython@85f092f · GitHub | Latest TMZ Celebrity News & Gossip | Watch TMZ Live
Skip to content

Commit 85f092f

Browse files
gh-115999: remove redundant check in free-threading from _STORE_ATTR_WITH_HINT (#136249)
1 parent 48cb9b6 commit 85f092f

File tree

3 files changed

+0
-25
lines changed

3 files changed

+0
-25
lines changed

Python/bytecodes.c

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2641,12 +2641,6 @@ dummy_func(
26412641
PyDictObject *dict = _PyObject_GetManagedDict(owner_o);
26422642
DEOPT_IF(dict == NULL);
26432643
DEOPT_IF(!LOCK_OBJECT(dict));
2644-
#ifdef Py_GIL_DISABLED
2645-
if (dict != _PyObject_GetManagedDict(owner_o)) {
2646-
UNLOCK_OBJECT(dict);
2647-
DEOPT_IF(true);
2648-
}
2649-
#endif
26502644
assert(PyDict_CheckExact((PyObject *)dict));
26512645
PyObject *name = GETITEM(FRAME_CO_NAMES, oparg);
26522646
if (hint >= (size_t)dict->ma_keys->dk_nentries ||

Python/executor_cases.c.h

Lines changed: 0 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Python/generated_cases.c.h

Lines changed: 0 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)

TMZ Celebrity News – Breaking Stories, Videos & Gossip

Looking for the latest TMZ celebrity news? You've come to the right place. From shocking Hollywood scandals to exclusive videos, TMZ delivers it all in real time.

Whether it’s a red carpet slip-up, a viral paparazzi moment, or a legal drama involving your favorite stars, TMZ news is always first to break the story. Stay in the loop with daily updates, insider tips, and jaw-dropping photos.

🎥 Watch TMZ Live

TMZ Live brings you daily celebrity news and interviews straight from the TMZ newsroom. Don’t miss a beat—watch now and see what’s trending in Hollywood.