This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: next fixer fooled by trailing characters
Type: behavior Stage: resolved
Components: 2to3 (2.x to 3.x conversion tool) Versions: Python 3.4, Python 3.5, Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder: Close 2to3 issues and list them here
View: 45544
Assigned To: Nosy List: benjamin.peterson, piro
Priority: normal Keywords:

Created on 2011-02-11 18:01 by piro, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (1)
msg128412 - (view) Author: Daniele Varrazzo (piro) * Date: 2011-02-11 18:01
An expression such as "x = i.next()[0]" is not fixed by 2to3 in Python 3.1. "x = (i.next())[0]" works instead.

https://github.com/dvarrazzo/psycopg/commit/9e9c22163706b0fffb9da67fe50ea23f91fe1c72
History
Date User Action Args
2022-04-11 14:57:12adminsetgithub: 55404
2021-10-20 22:40:46iritkatrielsetresolution: duplicate -> wont fix
2021-10-20 22:37:42iritkatrielsetstatus: open -> closed
superseder: Close 2to3 issues and list them here
resolution: duplicate
stage: resolved
2014-06-17 21:53:50BreamoreBoysetversions: + Python 2.7, Python 3.4, Python 3.5, - Python 3.1
type: behavior
title: next fixer fooled by trailing cheracters -> next fixer fooled by trailing characters
2011-02-11 18:37:49r.david.murraysetnosy: + benjamin.peterson
2011-02-11 18:01:53pirocreate