JDevlieghere created this revision.
JDevlieghere added reviewers: labath, lanza, LLDB.
Herald added a subscriber: mgorny.
JDevlieghere requested review of this revision.

The Python code generated by SWIG is compatible with both Python 2 and Python 
3. The -py3 option enables Python 2 incompatible features such as function 
annotations and abstract base classes.

Given that this only affects the generated code (and as such doesn't cause 
merge conflicts downstream) we're happy to enable it


https://reviews.llvm.org/D96096

Files:
  lldb/bindings/python/CMakeLists.txt


Index: lldb/bindings/python/CMakeLists.txt
===================================================================
--- lldb/bindings/python/CMakeLists.txt
+++ lldb/bindings/python/CMakeLists.txt
@@ -10,6 +10,7 @@
       -c++
       -shadow
       -python
+      -py3
       -threads
       -outdir ${CMAKE_CURRENT_BINARY_DIR}
       -o ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp


Index: lldb/bindings/python/CMakeLists.txt
===================================================================
--- lldb/bindings/python/CMakeLists.txt
+++ lldb/bindings/python/CMakeLists.txt
@@ -10,6 +10,7 @@
       -c++
       -shadow
       -python
+      -py3
       -threads
       -outdir ${CMAKE_CURRENT_BINARY_DIR}
       -o ${CMAKE_CURRENT_BINARY_DIR}/LLDBWrapPython.cpp
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to