mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Make sure that keyword arguments are merged into the arguments dictionary when dict unpacking and keyword arguments are interleaved. (GH-20553)
This commit is contained in:
@@ -4321,6 +4321,9 @@ ex_call:
|
||||
if (!compiler_subkwargs(c, keywords, i - nseen, i)) {
|
||||
return 0;
|
||||
}
|
||||
if (have_dict) {
|
||||
ADDOP_I(c, DICT_MERGE, 1);
|
||||
}
|
||||
have_dict = 1;
|
||||
nseen = 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user