diff options
| author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2021-07-30 17:12:29 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-07-30 17:12:29 (GMT) |
| commit | 73240d425b770c26d9424665259cd9a2f339b626 (patch) | |
| tree | 5f86b7c1223ff132c45845a7ddec2fba5f3ba686 /Python/pymath.c | |
| parent | 882e4761c63ae76d994b57bbcd7e5adbf2aa7b4f (diff) | |
| download | cpython-73240d425b770c26d9424665259cd9a2f339b626.zip cpython-73240d425b770c26d9424665259cd9a2f339b626.tar.gz cpython-73240d425b770c26d9424665259cd9a2f339b626.tar.bz2 | |
bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27489)
When sys.stdout.encoding is None compile_file will fall back to
sys.getdefaultencoding to encode/decode error messages.
Co-authored-by: Stefan Hoelzl <stefan.hoelzl@posteo.de>
Co-authored-by: Mickaƫl Schoentgen <contact@tiger-222.fr>
(cherry picked from commit 80f07076294bc09a55ed76d9bbf307404eef25e6)
Diffstat (limited to 'Python/pymath.c')
0 files changed, 0 insertions, 0 deletions
