[New-bugs-announce] [issue11195] next fixer fooled by trailing cheracters

Daniele Varrazzo report at bugs.python.org
Fri Feb 11 19:01:57 CET 2011


New submission from Daniele Varrazzo <piro at develer.com>:

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

----------
components: 2to3 (2.x to 3.0 conversion tool)
messages: 128412
nosy: piro
priority: normal
severity: normal
status: open
title: next fixer fooled by trailing cheracters
versions: Python 3.1

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue11195>
_______________________________________


More information about the New-bugs-announce mailing list