[issue7203] fixer for map(None, ...) needs to consider multi-argument case

Benjamin Peterson report at bugs.python.org
Tue Oct 27 21:57:59 CET 2009


Benjamin Peterson <benjamin at python.org> added the comment:

2009/10/27 Florian Mayer <report at bugs.python.org>:
>
> Florian Mayer <flormayer at aim.com> added the comment:
>
> At least converting
>
> map(None, a, b, ...)
>
> to
>
> map(lambda *xs: xs, a, b, ...)

Well, since that's not always correct, we should not translate to it.

----------

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


More information about the Python-bugs-list mailing list