Type annotations for libclang, Python bindings

Sorry @DeinAlptraum, I wasn’t trying to step on your toes here. I though you may have moved on from this project, so I tried to push this forward.

Given backwards compatibility is one of the selling features for libclang (compared to clang AST…) and type annotations are difficult to make backwards compatible, I have been adding CI to check this.

I also documented all type annotation features we can and can’t use for version 3.7 here.

I currently have a conflicting incremental PR [libclang/python] Bump minimum compatibility to Python 3.6 by linux4life798 · Pull Request #77228 · llvm/llvm-project · GitHub up for review. Would you consider waiting for it to be reviewed/submitted and rebasing?

Best,

Craig

1 Like