[all-commits] [llvm/llvm-project] ad623a: [lldb] Eliminate PyGILState_Check (NFC) (#152006)
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Mon Aug 4 10:44:54 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ad623a813e6d9ffdef62270656245b35ffceda37
https://github.com/llvm/llvm-project/commit/ad623a813e6d9ffdef62270656245b35ffceda37
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2025-08-04 (Mon, 04 Aug 2025)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[lldb] Eliminate PyGILState_Check (NFC) (#152006)
Eliminate calls to PyGILState_Check, which is not part of the Python
Limited C API. In the Locker, we can use PyGILState_Ensure directly. We
could do something similar to replace the assert, but I don't think it's
worth it. We don't assert that we hold the GIL anywhere else.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list