[Lldb-commits] [lldb] [python] remove Python 3.9 specific typing annotations (PR #156868)

Charles Zablit via lldb-commits lldb-commits at lists.llvm.org
Fri Sep 5 03:56:32 PDT 2025


https://github.com/charles-zablit updated https://github.com/llvm/llvm-project/pull/156868

>From 46503ba1ddcaae5ad7cfd283111e8e586da0855a Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zablit at apple.com>
Date: Thu, 4 Sep 2025 14:18:02 +0100
Subject: [PATCH] [lldb] remove Python 3.9 specific typing annotations

---
 lldb/packages/Python/lldbsuite/test/decorators.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/lldb/packages/Python/lldbsuite/test/decorators.py b/lldb/packages/Python/lldbsuite/test/decorators.py
index a391319ca9b0e..00322808d9027 100644
--- a/lldb/packages/Python/lldbsuite/test/decorators.py
+++ b/lldb/packages/Python/lldbsuite/test/decorators.py
@@ -1,4 +1,5 @@
 # System modules
+from __future__ import annotations # allow the use of `list[str]` in Python 3.8
 from functools import wraps
 from packaging import version
 import ctypes



More information about the lldb-commits mailing list