[all-commits] [llvm/llvm-project] 2bc530: Revert "[lldb] Use Py_InitializeFromConfig with Py...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Oct 30 11:36:33 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 2bc5302706e710d125752c215392043fd5bf80fa
      https://github.com/llvm/llvm-project/commit/2bc5302706e710d125752c215392043fd5bf80fa
  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:
  -----------
  Revert "[lldb] Use Py_InitializeFromConfig with Python >= 3.8 (NFC)" (#114290)

Reverts llvm/llvm-project#114112 because this triggers a compile error:

```
no known conversion from 'str_type' (aka 'wchar_t *') to 'const char *' for 3rd argument
  221 | PyAPI_FUNC(PyStatus) PyConfig_SetBytesString(
      |                      ^
  222 |     PyConfig *config,
  223 |     wchar_t **config_str,
  224 |     const char *str);
      |     ~~~~~~~~~~~~~~~
1 error generated.

```



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