[docs] [issue19363] Python 2.7's future_builtins.map is not compatible with Python 3's map

Gareth Rees report at bugs.python.org
Mon Feb 17 11:55:22 CET 2014


Gareth Rees added the comment:

Sorry about that; here it is. I had second thoughts about recommending zip() as an alternative (that would only work for cases where the None was constant; in other cases you might need lambda *args: args, but this seemed too complicated), so the note now says only:

    Note: In Python 3, map() does not accept None for the
    function argument.

----------
keywords: +patch
Added file: http://bugs.python.org/file34117/issue19363.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19363>
_______________________________________


More information about the docs mailing list