Python 3: Catching warnings during multiprocessing
you can try to override the Process.run method to use warnings.catch_warnings. >>> from multiprocessing import Process >>> >>> def yell(text): … import warnings … print ‘about to yell %s’ % text … warnings.warn(text) … >>> class CustomProcess(Process): … def run(self, *args, **kwargs): … import warnings … with warnings.catch_warnings(): … warnings.simplefilter(“ignore”) … return Process.run(self, *args, **kwargs) … Read more