map is an iterable under py3