Stable iteration order for Python 2/3
Goes with !307 (merged)
See merge request !301 (merged) (cherry picked from commit e43fa8bc)
Edited by Marco Cattaneo
Goes with !307 (merged)
See merge request !301 (merged) (cherry picked from commit e43fa8bc)