-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Crash in function_type() #998
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
Comments
@gvanrossum If in print(node, t) what is the output? |
The last two lines of that output say:
(I have not been able to reproduce the issue in a smaller setting -- the offending line is a class method that implements the tedious pattern to support both |
@gvanrossum ...what if you change it to read: print(node, t, node.node) I think I'm getting an idea of what the issue is. |
I have a repro, I think:
|
I landed a workaround. Let me know if this fixes the crash. |
Now I get a different error (on the same file):
|
I just pushed an attempt at fixing this issue. This is probably related to #613, which is probably one of worst known issues right now. |
Thanks, the crash is gone. |
The source has:
The crash log is:
The text was updated successfully, but these errors were encountered: