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
Error messages about stdlib modules not consistent #5351
In any case, do you want to try submitting a PR for this? I think the only change you'll need to make is adding the string "encodings" to the appropriate list.
(Or alternatively, if you're feeling up to it, you could try contributing stubs for the encoding module to typeshed. That's a much bigger task though.)
Activity
Michael0x2a commentedon Jul 18, 2018
Hmm, it looks like the
encodingsmodule is missing from the list of standard library modules located here -- probably an oversight?https://github.com/python/mypy/blob/master/mypy/moduleinfo.py
In any case, do you want to try submitting a PR for this? I think the only change you'll need to make is adding the string
"encodings"to the appropriate list.(Or alternatively, if you're feeling up to it, you could try contributing stubs for the
encodingmodule to typeshed. That's a much bigger task though.)Add distutils and encodings as stdlib modules (#5372)
Add distutils and encodings as stdlib modules (python#5372)