Edit: Pylance seems to be much better at this and has so far resolved all problems with the previous Python language server from Microsoft.
I\'m using VS Code an
Maybe it's Jedi. I mean its awesome but ... Tinkering with Jedi myself on bigger code bases I can confirm that it might be uber slow at times and pretty hard to figure out what the problems are... :/
Solution might be to switch to another language server! The VSCode Python extension has a "Language Server"-setting:
aka python.languageServer
.
Pylance is MS own new language server. I just tried it and it all seems a little snappier. As of today this is tagged as Preview. So there might be improvements around the corner.