Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:

I am attaching a patch with unit tests that implements the "middle-ground 
approach" making map and reduce behave the way zip is now.

I my view this slightly preferable to the "all the way" approach of letting all 
exceptions to propagate up.  My reasoning is that out of the three functions, 
zip, reduce and map, zip is probably the most common and changing its behavior 
is more likely to affect somebody than a change to the other two.

----------
nosy: +Alexander.Belopolsky
Added file: http://bugs.python.org/file17156/issue665761.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue665761>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to