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
$ mypyc --help
Traceback (most recent call last):
File "/tmp/y/venv/bin/mypyc", line 5, in <module>
from mypyc.__main__ import main
File "mypyc/__main__.py", line 18, in <module>
KeyError: '__file__'
To Reproduce
mypyc --help
Expected Behavior
not to crash
(Write what you thought would happen.)
Actual Behavior
see above
(Write what happened.)
Your Environment
Mypy version used: 0.930
Mypy command-line flags: --help
Mypy configuration options from mypy.ini (and other config files): n/a
Python version used: 3.8.10
Operating system and version: ubuntu 20.04
The text was updated successfully, but these errors were encountered:
Thanks for the report. This is obviously a pretty bad bug. Fixed on master and tests have been added to the wheel build to catch this kind of thing going forward.
Bug Report
To Reproduce
mypyc --help
Expected Behavior
not to crash
(Write what you thought would happen.)
Actual Behavior
see above
(Write what happened.)
Your Environment
0.930
--help
mypy.ini
(and other config files): n/aThe text was updated successfully, but these errors were encountered: