Python 3.x compat: map is lazy in 3.x