[issue12613] itertools fixer fails

2021-10-20 Thread Irit Katriel
Change by Irit Katriel : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed superseder: -> Close 2to3 issues and list them here ___ Python tracker

[issue12613] itertools fixer fails

2019-03-15 Thread Mark Lawrence
Change by Mark Lawrence : -- nosy: -BreamoreBoy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue12613] itertools fixer fails

2014-06-26 Thread Berker Peksag
Changes by Berker Peksag : -- versions: +Python 3.5 -Python 3.2, Python 3.3 ___ Python tracker ___ ___ Python-bugs-list mailing list U

[issue12613] itertools fixer fails

2014-06-26 Thread Mark Lawrence
Mark Lawrence added the comment: The patch is small and looks clean to me. Can someone take a look with a view to committing please, thanks. -- nosy: +BreamoreBoy ___ Python tracker __

[issue12613] itertools fixer fails

2013-01-04 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +needs review versions: +Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue12613] itertools fixer fails

2011-08-10 Thread Meador Inge
Meador Inge 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'

[issue12613] itertools fixer fails

2011-08-10 Thread Meador Inge
Changes by Meador Inge : -- nosy: +meador.inge ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.pyth

[issue12613] itertools fixer fails

2011-08-09 Thread Petri Lehtinen
Petri Lehtinen 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. -- ___

[issue12613] itertools fixer fails

2011-08-09 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- nosy: +petri.lehtinen ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mai

[issue12613] itertools fixer fails

2011-07-25 Thread Aaron Meurer
Changes by Aaron Meurer : -- nosy: +Aaron.Meurer ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.py

[issue12613] itertools fixer fails

2011-07-22 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- priority: normal -> high ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12613] itertools fixer fails

2011-07-22 Thread Éric Araujo
Changes by Éric Araujo : -- nosy: +eric.araujo stage: -> needs patch versions: +Python 3.3 ___ Python tracker ___ ___ Python-bugs-lis

[issue12613] itertools fixer fails

2011-07-22 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http://

[issue12613] itertools fixer fails

2011-07-22 Thread Vlada Peric
New submission from Vlada Peric : The itertools fixer (izip -> zip, among others), fails for the following code: from itertools import izip print msg % str(bool(symbol_swapped) and list(izip(*swap_dict).next()) or symbols) It gets converted to: print(msg % str(bool(symbol_swapped) and list(ne