Meador Inge <mead...@gmail.com> added the comment: I see two problems that cause the posted test cases to fail:
1. The 'next' fixer runs before the 'itertools' fixer and strips out a 'power' node. This keeps the 'itertools' fixer from matching. 2. The 'itertools' fixer does not handle any 'trailer' nodes after the itertool function application it is transforming. I have fixed both of these issues in the attached patch. Full test suite run; no regressions. ---------- keywords: +patch stage: needs patch -> patch review type: -> behavior Added file: http://bugs.python.org/file22878/issue12613.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue12613> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com