You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Implicitly imported submodules are not always diagnosed #2271
Python has an annoying misfeature where if you write e.g. "import tornado" and then use "tornado.ioloop.IOLoop", it may or may not work depending on whether some other module has already imported "tornado.ioloop". (Here ioloop is a submodule of the tornado package, and tornado's __init__.py does not import ioloop in any form.) Currently mypy duplicates that behavior, and this backfires in incremental mode. While we could fix that, we should consider instead always diagnosing this error.
Activity
JukkaL commentedon Jan 28, 2020
Closing this since there hasn't been any activity in a long time.