numpy/numpy — pull request #3236 by charris (2013-04-13 03:24:25+00:00)
Title: 2to3: Apply itertools fixer.

In Python 3 zip, map, and filter are all iterators, consequently the
itertools variants izip, imap, and ifilter have been removed and the
itertools fixer replaces them with the unprefixed names.

Because the places where the iterator variants are used in current look
like places where the iterator version might be useful, the approach
taken here is to define the prefixed versions to the unprefixed versions
for Python 3, but otherwise import them from itertools.

Closes #3233.