Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues.
If you have a question about typing or a behavior that you’re seeing in Pyright (as opposed to a bug report or enhancement request), consider posting to the Pyright discussion forum.
Describe the bug
Pyright hangs indefinitely when analyzing code that uses wrapt==2.1.2 with
generic type parameters and wrap_function_wrapper(). The same code works
correctly with wrapt<2.0.0.
Code or Screenshots
See minimum reproducible example
VS Code extension or command-line
command line
Note: if you are reporting a wrong signature of a function or a class in the standard library, then the typeshed tracker is better suited for this report: https://github.com/python/typeshed/issues.
If you have a question about typing or a behavior that you’re seeing in Pyright (as opposed to a bug report or enhancement request), consider posting to the Pyright discussion forum.
Describe the bug
Pyright hangs indefinitely when analyzing code that uses wrapt==2.1.2 with
generic type parameters and wrap_function_wrapper(). The same code works
correctly with wrapt<2.0.0.
Code or Screenshots
See minimum reproducible example
VS Code extension or command-line
command line