aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
diff options
context:
space:
mode:
authorJonas Devlieghere <jonas@devlieghere.com>2025-08-04 09:08:20 -0700
committerGitHub <noreply@github.com>2025-08-04 09:08:20 -0700
commit0ee1811624383b4601c969d72e851377f868120f (patch)
tree8f4b1867b42bd0a1d300fde46dd595b680d28318 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h
parent8d9afb8d955553bcc6aecba930fe94264b3ceebc (diff)
downloadllvm-0ee1811624383b4601c969d72e851377f868120f.zip
llvm-0ee1811624383b4601c969d72e851377f868120f.tar.gz
llvm-0ee1811624383b4601c969d72e851377f868120f.tar.bz2
[lldb] Eliminate InitializePythonRAII::InitializeThreadsPrivate (NFC) (#151780)
The behavior of thread initialization changed in Python 3.7. The minimum supported Python version is now 3.8. That means that `PyEval_ThreadsInitialized` always returns true and `PyEval_InitThreads` is never called. The helper function existed to coordinate initializing the threads and acquiring the GIL, which is no longer necessary. With that, there's no point in having the helper at all. This PR eliminates the function and inlines to GIL acquisition into the caller.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions