Issue 11195: next fixer fooled by trailing characters

Issue11195

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