George Boutsioukis <gboutsiou...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue6409> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com