[Lldb-commits] [lldb] [lldb/API] Add __getitem__ subscript support to python SBAPI list class (PR #181457)

via lldb-commits lldb-commits at lists.llvm.org
Fri Feb 13 20:34:49 PST 2026


github-actions[bot] wrote:

<!--LLVM CODE FORMAT COMMENT: {darker}-->


:warning: Python code formatter, darker found issues in your code. :warning:

<details>
<summary>
You can test this locally with the following command:
</summary>

``````````bash
darker --check --diff -r origin/main...HEAD lldb/test/API/functionalities/breakpoint/breakpoint_names/TestBreakpointNames.py lldb/test/API/functionalities/completion/TestCompletion.py lldb/test/API/lang/cpp/namespace/TestNamespace.py lldb/test/API/python_api/debugger/TestDebuggerAPI.py lldb/test/API/python_api/find_in_memory/TestFindInMemory.py lldb/test/API/python_api/sbmodule/TestSBModule.py lldb/test/API/python_api/sbsavecoreoptions/TestSBSaveCoreOptions.py lldb/test/API/python_api/type/TestTypeList.py
``````````

:warning:
The reproduction instructions above might return results for more than one PR
in a stack if you are using a stacked PR workflow. You can limit the results by
changing `origin/main` to the base branch/commit you want to compare against.
:warning:

</details>

<details>
<summary>
View the diff from darker here.
</summary>

``````````diff
--- python_api/find_in_memory/TestFindInMemory.py	2026-02-14 04:32:10.000000 +0000
+++ python_api/find_in_memory/TestFindInMemory.py	2026-02-14 04:34:19.479631 +0000
@@ -199,6 +199,5 @@
         )
         with self.assertRaises(IndexError):
             info_list[info_list.GetSize()]
         with self.assertRaises(TypeError):
             info_list["invalid"]
-

``````````

</details>


https://github.com/llvm/llvm-project/pull/181457


More information about the lldb-commits mailing list