[issue12613] itertools fixer fails

Petri Lehtinen report at bugs.python.org
Tue Aug 9 20:44:21 CEST 2011


Petri Lehtinen <petri at digip.org> added the comment:

A smaller snippet to reproduce:

    izip().next()

This gets converted to:

    next(izip())

It seems to me that the pattern of the itertools fixer doesn't match to izip().something(), and thus this is skipped.

----------

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


More information about the Python-bugs-list mailing list