Antoine Pitrou added the comment: > Can multiprocessing.util.register_after_fork() be rewritten with using the > new API?
It wouldn't benefit much from it, and there might be timing issue given the comments in BaseProcess._bootstrap(): old_process = _current_process _current_process = self try: util._finalizer_registry.clear() util._run_after_forkers() finally: # delay finalization of the old process object until after # _run_after_forkers() is executed del old_process ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16500> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com