2addc09050
In py3, dict.keys() is a view and not a copy of the dicts keys, so attempting to delete items from the dict while iterating over the keys results int RuntimeError: dictionary changed size during iteration Resolve by casting .keys() to a list() type. |
||
---|---|---|
.. | ||
ansible |