File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change 39
39
40
40
# Reset this number to 0 on major V8 upgrades.
41
41
# Increment by one for each non-official patch applied to deps/v8.
42
- 'v8_embedder_string' : '-node.18 ' ,
42
+ 'v8_embedder_string' : '-node.19 ' ,
43
43
44
44
##### V8 defaults for Node.js #####
45
45
Original file line number Diff line number Diff line change 49
49
# for py2/py3 compatibility
50
50
from __future__ import print_function
51
51
52
+ import io
52
53
import re
53
54
import sys
54
55
@@ -382,7 +383,7 @@ def load_objects():
382
383
383
384
384
385
def load_objects_from_file (objfilename , checktypes ):
385
- objfile = open (objfilename , 'r' );
386
+ objfile = io . open (objfilename , 'r' , encoding = 'utf-8 ' );
386
387
in_insttype = False ;
387
388
388
389
typestr = '' ;
@@ -577,7 +578,7 @@ def load_fields():
577
578
578
579
579
580
def load_fields_from_file (filename ):
580
- inlfile = open (filename , 'r' );
581
+ inlfile = io . open (filename , 'r' , encoding = 'utf-8 ' );
581
582
582
583
#
583
584
# Each class's fields and the corresponding offsets are described in the
You can’t perform that action at this time.
0 commit comments