Skip to content

Commit 489c369

Browse files
authored
bpo-43651: PEP 597: Fix pdeps used locale encoding (GH-25204)
1 parent 1d023e3 commit 489c369

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Tools/scripts/pdeps.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def main():
6464
# Collect data from one file
6565
#
6666
def process(filename, table):
67-
with open(filename) as fp:
67+
with open(filename, encoding='utf-8') as fp:
6868
mod = os.path.basename(filename)
6969
if mod[-3:] == '.py':
7070
mod = mod[:-3]

0 commit comments

Comments
 (0)