-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 on syntax error with unpacking #9137
Labels
Comments
A simpler example to reproduce this crash:
This happens on the current master |
hauntsaninja
pushed a commit
to hauntsaninja/mypy
that referenced
this issue
Nov 8, 2021
In general, mypy doesn't promise to be able to check the remainder of your code in the presence of syntax errors, so just make this a blocking error. Fixes python#9137 Fixes python#3825 (most of the reports in this issue were fixed by python#8827)
JelleZijlstra
changed the title
mypy 0.782 crash on syntax error
Crash on syntax error with unpacking
Apr 11, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Please provide more information to help us understand the issue:
bug
or a mock-up repro if the source is private. We would appreciate
if you try to simplify your case to a minimal repro.
see traceback below
report the syntax error without crashing
Do you see the same issue after installing mypy from Git master?
Python 3.8.0 (tags/v3.8.0:fa919fd, Oct 14 2019, 19:21:23) [MSC v.1916 32 bit (Intel)] on win32
mypy 0.782
Haven't tried master, this bug isn't a show stopper
--strict --implicit-reexport
The text was updated successfully, but these errors were encountered: