Fail closed on starred mapping alias duplicate safety
This commit is contained in:
1 parent
49666141fa
commit
42aeafd0e9
2 files changed
+46
No files matched your search
@@ -2298,6 +2298,8 @@ def _node_class_mapping_keys(tree):
|
||||
keys.update(literal_keys)
|
||||
if literal_ambiguous:
|
||||
return _INVALID
|
||||
if _module_dict_alias_invalidated(stmt, module_dict_aliases):
|
||||
return _INVALID
|
||||
mutation_keys = _node_class_mapping_mutation_string_keys(
|
||||
stmt,
|
||||
env,
|
||||
|
||||
Reference in new issue
Block a user