File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 3939
4040    # Reset this number to 0 on major V8 upgrades. 
4141    # Increment by one for each non-official patch applied to deps/v8. 
42-     'v8_embedder_string' : '-node.19 ' ,
42+     'v8_embedder_string' : '-node.20 ' ,
4343
4444    ##### V8 defaults for Node.js ##### 
4545
Original file line number Diff line number Diff line change 4949# for py2/py3 compatibility 
5050from  __future__ import  print_function 
5151
52+ import  io 
5253import  re 
5354import  sys 
5455
@@ -385,7 +386,7 @@ def load_objects():
385386
386387
387388def  load_objects_from_file (objfilename , checktypes ):
388-         objfile  =  open (objfilename , 'r' );
389+         objfile  =  io . open (objfilename , 'r'  ,  encoding = 'utf-8 ' );
389390        in_insttype  =  False ;
390391        in_torque_insttype  =  False 
391392
@@ -594,7 +595,7 @@ def load_fields():
594595
595596
596597def  load_fields_from_file (filename ):
597-         inlfile  =  open (filename , 'r' );
598+         inlfile  =  io . open (filename , 'r'  ,  encoding = 'utf-8 ' );
598599
599600        # 
600601        # Each class's fields and the corresponding offsets are described in the 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments