-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Python 2 future import can leak between modules #11740
Labels
Comments
JukkaL
added
bug
mypy got something wrong
false-positive
mypy gave an error on correct code
labels
Dec 14, 2021
Ok, I will take a look why future imports leak and re-create this PR with your test. Thanks! |
tushar-deepsource
pushed a commit
to DeepSourceCorp/mypy
that referenced
this issue
Jan 20, 2022
)" (python#11741) This reverts commit e6b91bd. See python#11740 for the context.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This test case fails unexpectedly:
If I comment out the
from __future__
import, the test case passes. It looks like the__future__
import leaks fromm2
tom1
. This was introduced in #11276.Since we are close to creating a release brach, and the fix may be non-trivial, I'm going to revert #11276 to avoid a regression. The PR can be merged again once the issue has been fixed.
cc @sobolevn
The text was updated successfully, but these errors were encountered: