-
-
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
Crash when passing non-existant directory as --custom-typeshed-dir #4301
Labels
Comments
On master I see a different traceback, but it still crashes:
|
I thought there was a check somewhere that verified typeshed is functional?
Or was that a plan that was never carried out?
(I first thought this could be avoided by checking that the directory
exists, but that doesn't help -- an empty directory is just as bad.)
|
There is an old related issue #1876, I think this is still only a plan. |
gvanrossum
pushed a commit
to gvanrossum/mypy
that referenced
this issue
Dec 5, 2017
Fixes python#4301. Perhaps also fixes other similar errors?
JukkaL
pushed a commit
that referenced
this issue
Dec 6, 2017
Fixes #4301. Perhaps also fixes other similar errors?
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Run mypy 0.550:
mypy --show-traceback --custom-typeshed-dir does_not_exist file.py
Where
does_not_exist
is any nonexistant directory.This results in the following traceback:
This is on Mac OS El Capitan 10.11.6, if that happens to make a difference.
The text was updated successfully, but these errors were encountered: