File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -1032,7 +1032,7 @@ def _monitor_process(
10321032 # pylint: disable=E1101
10331033 if os_name == "nt" and sys .version_info >= (3 , 7 ):
10341034 creationflags |= process_prio
1035-
1035+
10361036 # Actually we don't want preexec_fn since it's not thread safe, neither supported
10371037 # in subinterpreters. We'll use set_priority() once the process is spawned
10381038 # else:
@@ -1070,7 +1070,9 @@ def _monitor_process(
10701070 )
10711071
10721072 # Set process priority if not set earlier by creationflags
1073- if priority and (os_name != "nt" or (sys .version_info < (3 , 7 ) and os_name == "nt" )):
1073+ if priority and (
1074+ os_name != "nt" or (sys .version_info < (3 , 7 ) and os_name == "nt" )
1075+ ):
10741076 try :
10751077 try :
10761078 set_priority (process .pid , priority )
You can’t perform that action at this time.
0 commit comments