New submission from Brett Cannon: In Python 2.6 and newer you can import future_builtins and use everything from there. In Python 2.5 it should be itertools.imap(). This is much cleaner than the current suggestion at https://docs.python.org/2/howto/pyporting.html#update-map-for-imbalanced-input-sequences
---------- assignee: brett.cannon components: Documentation keywords: easy messages: 216315 nosy: brett.cannon priority: normal severity: normal stage: needs patch status: open title: Update Python 2/3 porting HOWTO's suggestion for dealing with map() type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue21237> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com