[all-commits] [llvm/llvm-project] 45f420: [lldb] Use Py_InitializeFromConfig with Python >= ...
Jonas Devlieghere via All-commits
all-commits at lists.llvm.org
Wed Oct 30 08:41:52 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 45f420e34476d2963e13b2f916be1e5a73ec95ae
https://github.com/llvm/llvm-project/commit/45f420e34476d2963e13b2f916be1e5a73ec95ae
Author: Jonas Devlieghere <jonas at devlieghere.com>
Date: 2024-10-30 (Wed, 30 Oct 2024)
Changed paths:
M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
Log Message:
-----------
[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
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