SIGN IN SIGN UP

bpo-44666: Use default encoding as fallback for compile_file (GH-27236) (GH-27488)

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)
M
Miss Islington (bot) committed
0db6c143ae5f04d223fdb2c94b820f16714b0a09
Parent: 6e6dc25
Committed by GitHub <noreply@github.com> on 7/30/2021, 5:12:05 PM