Closed Avasam closed 2 months ago
Thanks for the bug report. This will be fixed in the next release.
In the meantime, you can avoid the crash if you configure the pythonVersion in your config file rather than passing it as a CLI option. Or you can skip the --threads
option.
This is addressed in pyright 1.1.377.
Describe the bug When the flags
--threads
and--pythonversion
are used together, pyright crashes.Code or Screenshots Run
npx -y pyright@1.1.376 --pythonversion=X.X --threads
The python version doesn't seem to matter. It can even be an empty file, (I did
npx -y pyright@1.1.376 testfile.py --pythonversion=3.9 --threads
)VS Code extension or command-line pyright: 1.1.376