modernize
modernize copied to clipboard
Multi-iteratable map invocation gets modernized to different behavior
When using the "map" fixer, if a the map call takes multiple iteratables, then it uses six.moves.map, which changes behavior if the iterables are of different length. Specifically, if one iteratable is longer than the others, it stops after the shortest iterable is exhausted instead of filling in Nones as python 2'd map builtin does. The more correct fix in this case is to use zip_longest.