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

Gareth Rees report at bugs.python.org
Tue Feb 4 17:40:21 CET 2014


Gareth Rees added the comment:

What about a documentation change instead? The future_builtins chapter
<http://docs.python.org/2/library/future_builtins.html> in the
standard library documentation could note the incompatibility.

I've attached a patch which adds the following note to the
documentation for future_builtins.map:

    Note: In Python 3, map() does not accept None for the function
    argument. (zip() can be used instead.)

----------
status: closed -> open

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


More information about the Python-bugs-list mailing list