[all-commits] [llvm/llvm-project] e5228e: [lldb] Emit type annotation in SWIG generated Pyth...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Fri Feb 5 08:51:45 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e5228ef556e5a4cb40c6c7936aada636e1b7be10
      https://github.com/llvm/llvm-project/commit/e5228ef556e5a4cb40c6c7936aada636e1b7be10
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2021-02-05 (Fri, 05 Feb 2021)

  Changed paths:
    M lldb/bindings/python/CMakeLists.txt

  Log Message:
  -----------
  [lldb] Emit type annotation in SWIG generated Python code.

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.

Differential revision: https://reviews.llvm.org/D96096




More information about the All-commits mailing list