Message245331
This is a documented behavior difference in itertools.imap:
"If function is set to None, then imap() returns the arguments as a tuple. Like map() but stops when the shortest iterable is exhausted instead of filling in None for shorter iterables. The reason for the difference is that infinite iterator arguments are typically an error for map() (because the output is fully evaluated) but represent a common and useful way of supplying arguments to imap()."
https://docs.python.org/2/library/itertools.html#itertools.imap |
|
Date |
User |
Action |
Args |
2015-06-14 00:43:40 | ned.deily | set | recipients:
+ ned.deily, Ernesto Alfonso |
2015-06-14 00:43:40 | ned.deily | set | messageid: <1434242620.17.0.0619439676842.issue24446@psf.upfronthosting.co.za> |
2015-06-14 00:43:39 | ned.deily | link | issue24446 messages |
2015-06-14 00:43:38 | ned.deily | create | |
|