[Lldb-commits] [lldb] [lldb] Don't enable the Limited C API with Python 3.13 and SWIG 4.4.0 (PR #169065)

Ebuka Ezike via lldb-commits lldb-commits at lists.llvm.org
Fri Nov 21 09:20:14 PST 2025


================
@@ -182,16 +182,21 @@ if (LLDB_ENABLE_PYTHON)
 
   # Enable targeting the Python Limited C API.
   set(PYTHON_LIMITED_API_MIN_SWIG_VERSION "4.2")
+  set(AFFECTED_BY_SWIG_BUG SWIG_VERSION VERSION_EQUAL "4.4.0" AND Python3_VERSION VERSION_EQUAL "3.13")
----------------
da-viper wrote:

```suggestion
  set(AFFECTED_BY_SWIG_BUG SWIG_VERSION VERSION_EQUAL "4.4.0" AND Python3_VERSION VERSION_GREATER_EQUAL "3.13")
```
Affects 3.14 as well 

https://github.com/llvm/llvm-project/pull/169065


More information about the lldb-commits mailing list