[all-commits] [llvm/llvm-project] 11f1a3: [lldb] Unify python shebangs (#187257)

Ross Burton via All-commits all-commits at lists.llvm.org
Mon Apr 27 15:02:19 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 11f1a35917f39cbd1ec53ea7f17bac53f121f40c
      https://github.com/llvm/llvm-project/commit/11f1a35917f39cbd1ec53ea7f17bac53f121f40c
  Author: Ross Burton <ross.burton at arm.com>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M lldb/docs/use/tutorials/writing-custom-commands.md
    M lldb/examples/python/armv7_cortex_m_target_defintion.py
    M lldb/examples/python/bsd.py
    M lldb/examples/python/cmdtemplate.py
    M lldb/examples/python/delta.py
    M lldb/examples/python/disasm-stress-test.py
    M lldb/examples/python/disasm.py
    M lldb/examples/python/file_extract.py
    M lldb/examples/python/gdbremote.py
    M lldb/examples/python/globals.py
    M lldb/examples/python/in_call_stack.py
    M lldb/examples/python/lldb_module_utils.py
    M lldb/examples/python/lldbtk.py
    M lldb/examples/python/mach_o.py
    M lldb/examples/python/memory.py
    M lldb/examples/python/operating_system.py
    M lldb/examples/python/performance.py
    M lldb/examples/python/process_events.py
    M lldb/examples/python/sbvalue.py
    M lldb/examples/python/shadow.py
    M lldb/examples/python/sources.py
    M lldb/examples/python/stacks.py
    M lldb/examples/python/symbolication.py
    M lldb/examples/python/types.py
    M lldb/examples/python/x86_64_linux_target_definition.py
    M lldb/examples/python/x86_64_qemu_target_definition.py
    M lldb/examples/python/x86_64_target_definition.py
    M lldb/scripts/analyze-project-deps.py
    M lldb/scripts/verify_api.py
    M lldb/test/API/dotest.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/operating_system2.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/os_plugin_in_dsym/operating_system.py
    M lldb/test/API/functionalities/plugins/python_os_plugin/stepping_plugin_threads/operating_system.py
    M lldb/test/API/test_runner/test/inferior.py
    M lldb/test/API/test_runner/test/test_process_control.py
    M lldb/test/Shell/Quit/expect_exit_code.py
    M lldb/test/Shell/Register/Core/Inputs/strip-coredump.py
    M lldb/test/Shell/ScriptInterpreter/Python/Crashlog/patch-crashlog.py
    M lldb/test/Shell/helper/build.py
    M lldb/utils/lui/lui.py
    M lldb/utils/lui/sandbox.py

  Log Message:
  -----------
  [lldb] Unify python shebangs (#187257)

As per PEP-0394[1], there is no real concensus over what binary names
Python has, specifically 'python' could be Python 3, Python 2, or not
exist.

However, everyone has a python3 interpreter and the scripts are all
written for Python 3. Unify the shebangs so that the ~50% of shebangs
that use python now use python3.

[1] https://peps.python.org/pep-0394/



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