-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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 "Fatal error while checking" with metaclass #8698
Labels
Milestone
Comments
bersbersbers
added
the
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
label
May 18, 2023
Probably related: When parsing the following file: from pathlib import Path
from typing import Protocol
class Proto(Protocol):
...
class Meta(type(Path), type(Proto)):
pass
class Class(Path, Proto, metaclass=Meta):
pass pylint crashed with a
|
Pierre-Sassoulas
added
Crash 💥
A bug that makes pylint crash
Needs PR
This issue is accepted, sufficiently specified and now needs an implementation
and removed
Needs triage 📥
Just created, needs acknowledgment, triage, and proper labelling
labels
May 18, 2023
Thank you for opening the bug, I can reproduce on main. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Bug description
When parsing the following file:
pylint crashed with a
AstroidError
and with the following stacktrace:Configuration
No response
Command used
Pylint output
Expected behavior
I have no idea if the code examples makes any sense, but
pylint
should not crash.Pylint version
OS / Environment
Windows 10 21H2
Additional dependencies
No response
The text was updated successfully, but these errors were encountered: