[all-commits] [llvm/llvm-project] 905376: Remove Python 2 support from the ScriptInterpreter...

Jonas Devlieghere via All-commits all-commits at lists.llvm.org
Wed Apr 27 08:27:07 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 90537673302f13e92ffabba84901164c6b974b2d
      https://github.com/llvm/llvm-project/commit/90537673302f13e92ffabba84901164c6b974b2d
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h
    M lldb/source/Plugins/ScriptInterpreter/Python/PythonReadline.cpp
    M lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp
    M lldb/unittests/ScriptInterpreter/Python/PythonDataObjectsTests.cpp
    M lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp

  Log Message:
  -----------
  Remove Python 2 support from the ScriptInterpreter plugin

We dropped downstream support for Python 2 in the previous release. Now
that we have branched for the next release the window where this kind of
change could introduce conflicts is closing too. Start by getting rid of
Python 2 support in the Script Interpreter plugin.

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


  Commit: 0e9af88b7099fa0588661b5b8d5024b2f25f68d8
      https://github.com/llvm/llvm-project/commit/0e9af88b7099fa0588661b5b8d5024b2f25f68d8
  Author: Jonas Devlieghere <jonas at devlieghere.com>
  Date:   2022-04-27 (Wed, 27 Apr 2022)

  Changed paths:
    M lldb/test/API/functionalities/step_scripted/TestStepScripted.py
    M lldb/test/API/lldbtest.py
    M lldb/test/API/macosx/nslog/TestDarwinNSLogOutput.py
    M lldb/test/API/python_api/disassemble-raw-data/TestDisassemble_VST1_64.py
    M lldb/test/API/python_api/file_handle/TestFileHandle.py
    M lldb/test/API/terminal/TestSTTYBeforeAndAfter.py

  Log Message:
  -----------
  Remove Python 2 checks from the test suite

We dropped downstream support for Python 2 in the previous release. Now
that we have branched for the next release the window where this kind of
change could introduce conflicts is closing too. Remove Python 2 checks
from the test suite.

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


Compare: https://github.com/llvm/llvm-project/compare/16baf59c6d0b...0e9af88b7099


More information about the All-commits mailing list