File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -1068,7 +1068,7 @@  PyConfig = record
10681068  PyInterpreterConfig_SHARED_GIL = 1 ;
10691069  PyInterpreterConfig_OWN_GIL = 2 ;
10701070
1071-    type 
1071+ type 
10721072  PPyInterpreterConfig = ^PyInterpreterConfig;
10731073  PyInterpreterConfig = { $IFDEF CPUX86} packed { $ENDIF} record 
10741074    use_main_obmalloc: Integer;
@@ -1080,7 +1080,7 @@  PyConfig = record
10801080    gil: Integer;
10811081  end ;
10821082
1083- const 
1083+ var 
10841084  _PyInterpreterConfig_INIT: PyInterpreterConfig =
10851085    ( use_main_obmalloc: 0 ;
10861086      allow_fork: 0 ;
@@ -9305,7 +9305,7 @@ procedure TPythonThread.Execute;
93059305      finally 
93069306        PyGILState_Release(gilstate);
93079307      end ;
9308-     end  else   { fThreadExecMode } 
9308+     end  else 
93099309    begin 
93109310      gilstate := PyGILState_Ensure();
93119311      global_state := PyThreadState_Get;
@@ -9328,8 +9328,8 @@ procedure TPythonThread.Execute;
93289328        PyThreadState_Swap(global_state);
93299329        PyGILState_Release(gilstate);
93309330      end  else 
9331-         raise EPythonError.Create(  ' Could not create a new thread state' 
9332-     end ;  { withinterp } 
9331+         raise EPythonError.Create(' Could not create a new thread state' 
9332+     end ;
93339333  end ;
93349334end ;
93359335
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments