[Lldb-commits] [lldb] [lldb][python] Add polymorphic `__getitem__` to `SBModuleSpecList` for Pythonic indexing (PR #189125)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Mar 30 08:12:44 PDT 2026


https://github.com/JDevlieghere commented:

This is a nice QoL improvement but I'm somewhat curious what motivated this change. For example, the regex matching is nice, but off the top of my head I can't think of any other places in Python where that's supported, so I'm wondering if this was added for a particular use case or "just because". 

Based on the PR description this seems like it may have been (partially) AI generated. That's fine, as long as it complies with our policy: https://llvm.org/docs/AIToolPolicy.html 

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


More information about the lldb-commits mailing list