Created on 2021-02-13 08:53 by methane, last changed 2021-02-13 08:55 by methane.
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-13 08:55:43 | methane | set | keywords: + easy |
2021-02-13 08:53:26 | methane | create |
Created on 2021-02-13 08:53 by methane, last changed 2021-02-13 08:55 by methane.
Messages (1) | |||
---|---|---|---|
msg386916 - (view) | Author: Inada Naoki (methane) * ![]() |
Date: 2021-02-13 08:53 | |
https://github.com/python/cpython/blob/4230bd52e3f9f289f02e41ab17a95f50ed4db5a6/Lib/site.py#L160 ``` f = io.TextIOWrapper(io.open_code(fullname)) ``` When default text encoding is not UTF-8 and pth file contains non-ASCII character, it will raise UnicodeDecodeError. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2021-02-13 08:55:43 | methane | set | keywords: + easy |
2021-02-13 08:53:26 | methane | create |