diff options
author | Jonas Devlieghere <jonas@devlieghere.com> | 2024-10-30 08:41:30 -0700 |
---|---|---|
committer | Jonas Devlieghere <jonas@devlieghere.com> | 2024-10-30 18:48:43 -0700 |
commit | de7ad6b6820a265160507f8c6cf8ce5e07c4d5d8 (patch) | |
tree | 4308bb29503d5caee70e3f9642fab36c078a4e69 /lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h | |
parent | e9b7fe8e5a5819cb632d02529712535ca1b83f02 (diff) | |
download | llvm-de7ad6b6820a265160507f8c6cf8ce5e07c4d5d8.zip llvm-de7ad6b6820a265160507f8c6cf8ce5e07c4d5d8.tar.gz llvm-de7ad6b6820a265160507f8c6cf8ce5e07c4d5d8.tar.bz2 |
[lldb] Use Py_InitializeFromConfig with Python >= 3.8 (NFC) (#114112)
This fixes the deprecation warning for Py_SetPythonHome, which was
deprecated in Python 3.11. With this patch, when building against Python
3.8 or later, we now use Py_InitializeFromConfig instead.
Fixes #113475
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.h')
0 files changed, 0 insertions, 0 deletions