discuss-gnuradio
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Pylance for C++ Gnuradio Blocks


From: Marcus Müller
Subject: Re: Pylance for C++ Gnuradio Blocks
Date: Thu, 5 Jan 2023 14:38:19 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]