-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Bug with type: ignore
comment on import and incremental
#2308
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
Comments
Hm, interesting. @Michael0x2a might have some insights. |
Create the following files:
Now, watch the following commands:
|
Workaround to avoid having to clear the entire cache: |
Workarounds for incremental mode that requires deleting cache files are not
very useful. :-)
|
Well, I actually just realized that a much, much better workaround is to just do |
But it definitely is a bug.
|
Is this still reproducible? |
@gvanrossum Yup. |
Still trying to get a test case. However, for now, I'll post the interesting parts:
errors.py
, I have code like this:For some reason, the cache for this file at some point didn't add
colorama
to thesuppressed
section, so the import started being an error.The text was updated successfully, but these errors were encountered: