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

>From 54f31b5cc3ec31e53e457c1879887f54ff14f14e Mon Sep 17 00:00:00 2001
From: Charles Zablit <c_zab...@apple.com>
Date: Fri, 5 Sep 2025 12:01:56 +0100
Subject: [PATCH] [lldb] fix Python 3.9+ specific typing annotations

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

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

_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to