================

----------------
TsXor wrote:

What I think is just contradictory: I don't see value in leaving `# type: 
ignore` at the call sites of those functions everywhere. If you are satisfied 
with this, why don't we just make a `cindex.pyi` stub independent from 
`cindex.py`? Users of `cindex.py` won't notice either way.

I chose this metadata reflection way like `pydantic` just because it is 
beneficial to this binding. Having typed C functions can let us make less 
errors and easier to review.

The ultimate goal of introducing inline typing is to benefit **both** the 
project developers and users. I'm not being sarcastic. If we are really 
satisfied with this, we should really consider using separated `pyi` stubs 
instead of ignoring every call.

https://github.com/llvm/llvm-project/pull/101941
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to