##// END OF EJS Templates
Fix the issue with %run-ing something with multiprocessing...
Matthias Bussonnier -
Show More
@@ -853,6 +853,8 b' python-profiler package from non-free.""")'
853 853 sys.argv = save_argv
854 854 if restore_main:
855 855 sys.modules['__main__'] = restore_main
856 if '__mp_main__' in sys.modules:
857 sys.modules['__mp_main__'] = restore_main
856 858 else:
857 859 # Remove from sys.modules the reference to main_mod we'd
858 860 # added. Otherwise it will trap references to objects
General Comments 0
You need to be logged in to leave comments. Login now