From: Kurt B. Kaiser Date: Mon, 2 Sep 2002 21:29:40 +0000 (+0000) Subject: (Re)Apply Sourceforge Python patch 520483, Sourceforge Idlefork patch X-Git-Tag: v2.3c1~4234 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d01163615ac4656c14c1c83b74526c8e85d094c2;p=python (Re)Apply Sourceforge Python patch 520483, Sourceforge Idlefork patch 521908 (again) to MAIN The patch applied by Steven was inadvertently reverted during the transition to GRPC. Python 2.3a0 (#3, May 8 2002, 23:37:01) [GCC egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)] on linux2 Type "copyright", "credits" or "license" for more information. GRPC IDLE Fork 0.8.2 >>> print u'\xbfQu\xe9 pas\xf3?' ¿Qué pasó? Modified Files: OutputWindow.py --- diff --git a/Lib/idlelib/OutputWindow.py b/Lib/idlelib/OutputWindow.py index 212e38267a..7522720c29 100644 --- a/Lib/idlelib/OutputWindow.py +++ b/Lib/idlelib/OutputWindow.py @@ -34,7 +34,7 @@ class OutputWindow(EditorWindow): # Act as output file def write(self, s, tags=(), mark="insert"): - self.text.insert(mark, str(s), tags) + self.text.insert(mark, s, tags) self.text.see(mark) self.text.update()