that’s crazy, you’ll only get mixed output if you’re running python functions concurrently, in which case they are unordered by definition. you can only reconcile order of finished jobs, but this implies that you’re explicitly launching jobs and then collecting results in an ordered fashion (what you want to print should be a part of these results, not printed directly from ‘worker’ threads/processes)