Amaury Forgeot d'Arc <amaur...@gmail.com> added the comment: Whatever the value of logMultiprocessing is, I suggest to not import the multiprocessing module if the application did not import it before: something like:
if "multiprocessing" in sys.modules: from multiprocessing import current_process self.processName = current_process().name else: # current_process().name returns this the first time self.processName = 'MainProcess' ---------- nosy: +amaury.forgeotdarc _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue7120> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com