When I try to `make reindent`
It was failed with this messages.
````
./python.exe ./Tools/scripts/reindent.py -r ./Lib
Traceback (most recent call last):
File "/Users/corona10/cpython/Lib/tokenize.py", line 404, in find_cookie
codec = lookup(encoding)
LookupError: unknown encoding: uft-8
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "./Tools/scripts/reindent.py", line 329, in <module>
main()
File "./Tools/scripts/reindent.py", line 101, in main
check(arg)
File "./Tools/scripts/reindent.py", line 115, in check
check(fullname)
File "./Tools/scripts/reindent.py", line 115, in check
check(fullname)
File "./Tools/scripts/reindent.py", line 121, in check
encoding, _ = tokenize.detect_encoding(f.readline)
File "/Users/corona10/cpython/Lib/tokenize.py", line 433, in detect_encoding
encoding = find_cookie(first)
File "/Users/corona10/cpython/Lib/tokenize.py", line 412, in find_cookie
raise SyntaxError(msg)
SyntaxError: unknown encoding for './Lib/test/bad_coding.py': uft-8
make: *** [reindent] Error 1
``` |