From d28e419bb4958e547e740cb46401231b5a41d654 Mon Sep 17 00:00:00 2001 From: Steven Myint Date: Sun, 7 Feb 2016 08:36:28 -0800 Subject: [PATCH] Emulate what "sys.stdout" does for "encoding" This is similar to #293, which was fixed in a similar way. That case was for "sys.stdin". --- bpython/curtsiesfrontend/coderunner.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/bpython/curtsiesfrontend/coderunner.py b/bpython/curtsiesfrontend/coderunner.py index 21fdbc18a..bb30f3f30 100644 --- a/bpython/curtsiesfrontend/coderunner.py +++ b/bpython/curtsiesfrontend/coderunner.py @@ -218,3 +218,8 @@ def flush(self): def isatty(self): return True + + @property + def encoding(self): + return 'UTF-8' + pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy