2908798
python3: fix composite type usage after modernize * Simplify container usage whenever possible * Create copies where necessary to avoid iterating a view while modifying the underlying container. Signed-off-by: Pavel Šimerda <pavlix@pavlix.net>