[issue2532] file that breaks 2to3 (despite being correct python)

engelbert gruber report at bugs.python.org
Sat Jul 19 08:39:44 CEST 2008

engelbert gruber <grubert at users.sourceforge.net> added the comment:

The much simpler input might be another problem::

  # this is accepted
  b = ("a = 0\n" * 100)
  # this one breaks it
  ("a = 0\n" * 100)

this looks similar to ``map(None, t)`` on a line by itself is 
translated to ``list(map(None, t))`` and the message "You should use a 
for loop her"

nosy: +grubert

Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list