src/eric7/DebugClients/Python/MultiprocessingExtension.py

branch
eric7
changeset 11148
15e30f0c76a8
parent 11090
f5f5f5803935
equal deleted inserted replaced
11147:dee6e106b4d3 11148:15e30f0c76a8
22 22
23 @param module reference to the imported module to be patched 23 @param module reference to the imported module to be patched
24 @type module 24 @type module
25 @param debugClient reference to the debug client object 25 @param debugClient reference to the debug client object
26 @type DebugClient 26 @type DebugClient
27 """ # __IGNORE_WARNING_D234__ 27 """ # __IGNORE_WARNING_D-234__
28 global _debugClient, _originalProcess, _originalBootstrap 28 global _debugClient, _originalProcess, _originalBootstrap
29 29
30 _debugClient = debugClient 30 _debugClient = debugClient
31 31
32 _originalProcess = module.process.BaseProcess 32 _originalProcess = module.process.BaseProcess
73 passive=False, 73 passive=False,
74 multiprocessSupport=True, 74 multiprocessSupport=True,
75 ) 75 )
76 except Exception: 76 except Exception:
77 print( 77 print(
78 # __IGNORE_WARNING_M801__ 78 # __IGNORE_WARNING_M-801__
79 "Exception during multiprocessing bootstrap init:" 79 "Exception during multiprocessing bootstrap init:"
80 ) 80 )
81 traceback.print_exc(file=sys.stdout) 81 traceback.print_exc(file=sys.stdout)
82 sys.stdout.flush() 82 sys.stdout.flush()
83 raise 83 raise

eric ide

mercurial