[all-commits] [llvm/llvm-project] 25ebdf: [lldb] fix Python 3.9+ specific typing annotations...

Charles Zablit via All-commits all-commits at lists.llvm.org
Fri Sep 5 09:26:00 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 25ebdfe0ab202a6cb30232d84bc5838439fd67d5
      https://github.com/llvm/llvm-project/commit/25ebdfe0ab202a6cb30232d84bc5838439fd67d5
  Author: Charles Zablit <c_zablit at apple.com>
  Date:   2025-09-05 (Fri, 05 Sep 2025)

  Changed paths:
    M lldb/packages/Python/lldbsuite/test/decorators.py

  Log Message:
  -----------
  [lldb] fix Python 3.9+ specific typing annotations (#156868)

This patch replaces `list` with its `typing` implementation, i.e
`list[str]` becomes `List[str]`.

[Type hinting generic in the standard collection were introduced in
Python 3.9](https://peps.python.org/pep-0585/), however the minimum
supported Python version for lldb is 3.8. This patch will unblock the
[bots for Ubuntu
20.04](https://ci.swift.org/view/Swift%20rebranch/job/oss-swift-rebranch-package-ubuntu-20_04/2847/consoleText),
which run on Python 3.8.



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