[issue6409] 2to3 -j 4 generates malformed diffs

George Boutsioukis report at bugs.python.org
Mon Apr 12 04:00:32 CEST 2010


George Boutsioukis <gboutsioukis at gmail.com> added the comment:

Flushing stdout is still necessary, though not enough. The processes will still have to use some kind of synchronization, and the performance toll of adding a lock to synchronize output is negligible, given that printing to stdout takes a tiny amount of time compared to the rest of the 2to3 code. This patch seems to fix the issue without affecting performance.

----------
nosy: +gboutsioukis
Added file: http://bugs.python.org/file16889/output_lock.diff

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


More information about the Python-bugs-list mailing list