[Lldb-commits] [lldb] [llvm] [lldb] Add type hints to gdbclientutils.py and use abstract base class (PR #162172)
Daniel Sanders via lldb-commits
lldb-commits at lists.llvm.org
Thu Oct 9 14:54:42 PDT 2025
dsandersllvm wrote:
> And yes we should have something somewhere enforcing our minimums but let me put it this way: we claim minimum compiler versions and those aren't tested by anyone either. So I'm sorry you had to encounter this confusion but it is what it is for the time being.
No worries. FWIW I've tried running `vermin` on the other files with `uvx vermin -t 3.8 $(find lldb/packages/Python -name '*.py')`. It doesn't like something about one file:
```
File with incompatible versions: llvm-project/lldb/packages/Python/lldbsuite/test/tools/lldb-server/lldbgdbserverutils.py
Versions could not be combined: !2, 3.5 and 2.2, !3
Note: Some files had incompatible versions so the results might not be correct!
```
and I've never tried this tool before so I'm not sure how much to trust it but if it's accurate then the code that runs is all 3.8 compatible with a few files that need 3.9 for the type hints (add `--eval-annotations` to the command).
https://github.com/llvm/llvm-project/pull/162172
More information about the lldb-commits
mailing list