Ali Polatel wrote:
> 2to3 gives a warning while converting portage codebase using map¹ fix:
> RefactoringTool: Warnings/messages while refactoring:
> RefactoringTool: ### In file ./pym/portage/dbapi/porttree.py ###
> RefactoringTool: Line 266: You should use a for loop here
>
> This is a valid warning because map() will change in py3k. Read the docstring of
> fix_map.py for more information.
>
> ¹: http://svn.python.org/view/python/trunk/Lib/lib2to3/fixes/fix_map.py