[all-commits] [llvm/llvm-project] 677937: [Dexter] Remove outdated imp dependency (#111833)

Stephen Tozer via All-commits all-commits at lists.llvm.org
Thu Oct 10 06:38:30 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6779376ee917279b16e256839d236cfdf8fd9ab9
      https://github.com/llvm/llvm-project/commit/6779376ee917279b16e256839d236cfdf8fd9ab9
  Author: Stephen Tozer <stephen.tozer at sony.com>
  Date:   2024-10-10 (Thu, 10 Oct 2024)

  Changed paths:
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/lldb/LLDB.py
    M cross-project-tests/debuginfo-tests/dexter/dex/debugger/visualstudio/VisualStudio.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/Main.py
    M cross-project-tests/debuginfo-tests/dexter/dex/tools/help/Tool.py
    A cross-project-tests/debuginfo-tests/dexter/dex/utils/Imports.py

  Log Message:
  -----------
  [Dexter] Remove outdated imp dependency (#111833)

Fixes: https://github.com/llvm/llvm-project/issues/111815

This patch replaces usage of the python `imp` library, which is
deprecated since python3.4 and removed in python3.12, with the
`importlib` library. As part of this update the repeated
find_module+load_module pattern is moved into a utility function, since
the importlib equivalent is much more verbose.



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