mypy
mypy copied to clipboard
Add test demonstrating functools.partial bug
#17292 added functools.partial support for Type objects; this PR adds a test that demonstrates the implementation incorrectly eagerly resolves generics.
You should probably also open an issue, and link to it in the test case, so it does not get forgotten as "just another test case".
Thanks for the test case! Let's track at https://github.com/python/mypy/issues/17411