Thursday, January 5, 2023

Re: Pylance for C++ Gnuradio Blocks

Hi David,

I'm not familiar with pylance at all, but since there's no Python
involved at all in GNU Radio running C++ blocks, I don't see how a
python debugger helps – at all.

Cheers,
Marcus

On 1/4/23 20:36, David Reuss wrote:
> Hello,
>
> This question is for vscode users of gnuradio. I want to use pylance's
> semantic highlighting and autocomplete when instantiating gnuradio
> blocks in python, but pylance only seems to work with native python
> gnuradio blocks and not for C++ extension-based blocks. From this
> pylance issue comment
> <https://github.com/microsoft/pylance-release/issues/2440#issuecomment-1059604558> it
> seems that pylance requires .pyi stub files in this case. Are there
> gnuradio stub files or another supported way for pylance to work for
> all gnuradio blocks?
>
> Thank you,
> David

No comments:

Post a Comment