Commit 8bbfef1
Fix callable types with inconsistent argument counts (#4611)
This fixes potential issues with callable types where there are a
different number of argument names compared to argument types. These
malformed callable types might have caused crashes.
This may address #4599. Even if the issue remains unfixed, future
tracebacks could be more useful due to an assert that I added.1 parent 76774fa commit 8bbfef1
3 files changed
+7
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
14 | | - | |
| 13 | + | |
| 14 | + | |
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| |||
2088 | 2088 | | |
2089 | 2089 | | |
2090 | 2090 | | |
2091 | | - | |
| 2091 | + | |
| 2092 | + | |
2092 | 2093 | | |
2093 | 2094 | | |
2094 | 2095 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3966 | 3966 | | |
3967 | 3967 | | |
3968 | 3968 | | |
| 3969 | + | |
| 3970 | + | |
3969 | 3971 | | |
3970 | 3972 | | |
3971 | 3973 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
663 | 663 | | |
664 | 664 | | |
665 | 665 | | |
| 666 | + | |
666 | 667 | | |
667 | 668 | | |
668 | 669 | | |
| |||
0 commit comments