mirror of
https://github.com/AdaCore/cpython.git
synced 2026-02-12 12:57:15 -08:00
Merge with 3.4
This commit is contained in:
@@ -196,7 +196,7 @@ Options: -v verbose (print all checked file names)
|
||||
print('Checking %s...' % fn)
|
||||
|
||||
try:
|
||||
with open(fn, 'r') as f:
|
||||
with open(fn, 'r', encoding='utf-8') as f:
|
||||
lines = list(f)
|
||||
except (IOError, OSError) as err:
|
||||
print('%s: cannot open: %s' % (fn, err))
|
||||
|
||||
Reference in New Issue
Block a user