[issue12666] map semantic change not documented in What's New

Jason R. Coombs report at bugs.python.org
Sun Jul 31 18:02:30 CEST 2011

Jason R. Coombs <jaraco at jaraco.com> added the comment:

I believe the correct solution to (2) is to use itertools.zip_longest. So to port to Python 3, the example would use:

    print(list(map(to_tuple, itertools.zip_longest([1,2,3], [4,5,6,7]))))


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list