classification
Title: zip fixer fails on zip()[:-1]
Type: behavior Stage:
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.5, Python 3.4, Python 2.7
process
Status: open Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Aaron.Meurer, BreamoreBoy, VPeric, benjamin.peterson, merwok
Priority: normal Keywords:

Created on 2011-07-22 22:11 by VPeric, last changed 2014-06-24 15:01 by BreamoreBoy.

Messages (2)
msg140919 - (view) Author: Vlada Peric (VPeric) Date: 2011-07-22 22:11
The zip fixer fails on this code:

zip(B, D)[:-1]

I fixed this by wrapping explicitly with list(), but that creates a duplicate list on Python 2. 

(Like the other fixes I reported, I assume this also applies to 3.3, but I didn't test it so I don't know; adding Eric and Benjamin to nosy, though)
msg221464 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-24 15:01
@Benjamin can you take this on please?
History
Date User Action Args
2014-06-24 15:01:53BreamoreBoysetversions: + Python 3.4, Python 3.5, - Python 3.2
nosy: + BreamoreBoy

messages: + msg221464

type: behavior
2011-07-25 23:06:40Aaron.Meurersetnosy: + Aaron.Meurer
2011-07-22 22:11:40VPericcreate