Commit 2dfd2b9
committed
Fix GH-16266: Passing unknown named parameter may segfault
We must not assume that an internal function has arg_info; that is at
least not given for internal classes implementing the magic `__call()`
method. In such cases we cannot look up the parameter offset by name,
and raise a fatal error.1 parent a5e8ac6 commit 2dfd2b9
2 files changed
+15
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4945 | 4945 | | |
4946 | 4946 | | |
4947 | 4947 | | |
| 4948 | + | |
| 4949 | + | |
| 4950 | + | |
4948 | 4951 | | |
4949 | 4952 | | |
4950 | 4953 | | |
| |||
0 commit comments