[issue6409] 2to3 generates malformed diffs

2010-01-30 Thread STINNER Victor
STINNER Victor added the comment: I'm able to reproduce the bug. The problem is that "-j 4" option creates 4 working processes, and they are all writing to stdout at the same time. Main process: main() => refactor() => refactor_file() sends tasks to child processes Children: _child() => queue

[issue6409] 2to3 generates malformed diffs

2009-07-03 Thread Benjamin Peterson
Changes by Benjamin Peterson : -- assignee: -> benjamin.peterson nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list

[issue6409] 2to3 generates malformed diffs

2009-07-03 Thread Amaury Forgeot d'Arc
Amaury Forgeot d'Arc added the comment: You seem to use the 'parallel' option. Some flush() or synchronization missing? -- nosy: +amaury.forgeotdarc ___ Python tracker ___ __

[issue6409] 2to3 generates malformed diffs

2009-07-03 Thread Jean-Paul Calderone
New submission from Jean-Paul Calderone : I ran 2to3 over Twisted r27084 like this: time ~/Projects/python/trunk/python /home/exarkun/Projects/python/trunk/Tools/scripts/2to3 -j 4 twisted/ > 2to3.patch Visual inspection revealed some curious defects, and attempting to apply it failed like this: