Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pyright too slow to infer types from sympy functions #26150

Closed
denismazzucato opened this issue Jan 30, 2024 · 1 comment · Fixed by #26158
Closed

pyright too slow to infer types from sympy functions #26150

denismazzucato opened this issue Jan 30, 2024 · 1 comment · Fixed by #26158

Comments

@denismazzucato
Copy link

pyright takes more than 12 seconds to infer type informations on sympy codebase. Not even setting useLibraryCodeForTypes to False could prevent pyright from exploring sympy as the library claims to be a typed library by including a py.typed marker file.

This means that using a project with sympy will make the editor extensions looking for type information return such in more than 10 seconds, killing completely the user experience.

See issue pyright#7159.

@oscarbenjamin
Copy link
Collaborator

See gh-22337 and gh-25103

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants