-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[red-knot] defer annotation resolution when __future__.annotations is active #13070
Comments
We have support now for deferring resolution of annotations, which is the first part of fixing this. The second part is to extend that support to any module where |
Confirmed that the above panic no longer occurs checking pandas. There is one other panic which is a shallow bug in with-item handling, I'll push a fix for it shortly. |
With this fix and #13409 we can check pandas with no panic. |
Sweet |
Red-knot panics on this:
Changing the return type of
IndexingMixing.iloc
or changing the_iLocIndexer
decorator to not referenceIndexingMixing.iloc
removes the panicSource: https://github.com/pandas-dev/pandas/blob/0c24b20bd9cd743bd5f5afceb1a6fef54a2dbdc1/pandas/core/indexing.py#L4
The text was updated successfully, but these errors were encountered: