Re:Python 3 can revive Python
by the_mitsuhiko on Monday May 26, 2014 @10:01PM
(#7802498)
map(print, list_of_tuples) does not work on Python 3 unless you wrap it in list(). In any case it's a anti-idiom because it creates a useless list. Please don't do that.
[ Parent
| on HN ]
Ah, I can see now that `map` will return a list of Nones, and also that Py3 `map` returns a lazy iterator. Thanks.
Seeing how my transition to Py3 got hung up on sending bytes in and out of ZeroMQ sockets, I might stop that now.
Back to the for loop or join the strings as suggested below.