Skip to content

Pyright hangs indefinitely when using wrapt > 2.0.0 #11413

@Gatedd

Description

@Gatedd

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

Metadata

Metadata

Assignees

Labels

addressed in next versionIssue is fixed and will appear in next published versionbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions