You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildstream.apache.org by GitBox <gi...@apache.org> on 2021/12/16 06:19:22 UTC

[GitHub] [buildstream] abderrahim commented on issue #1412: Potentially remove all those pesky .pyi files

abderrahim commented on issue #1412:
URL: https://github.com/apache/buildstream/issues/1412#issuecomment-995473958


   @gtristan I tried to look into this: https://github.com/apache/buildstream/pull/1547 ports `buildstream._types` and `buildstream._utils` to use the pure-python cython syntax (The former is already in python, the latter needed some porting).
   
   Regarding mypyc, it seems to be an alternative to cython based on mypy rather than an extension for mypy to support checking cython code. We could probably try to use it instead of cython at some point but the drawback is that it can't do things you can't do in pure python (In particular, it seems `buildstream._utils` is trying to call into cpython internals to raise an exception in a thread).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@buildstream.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org