(Re)Apply Sourceforge Python patch 520483, Sourceforge Idlefork patch
authorKurt B. Kaiser <kbk@shore.net>
Mon, 2 Sep 2002 21:29:40 +0000 (21:29 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Mon, 2 Sep 2002 21:29:40 +0000 (21:29 +0000)
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

Lib/idlelib/OutputWindow.py

index 212e38267ae47cd796a8b538f109b93b9f2f8ecc..7522720c29e10ee258c228aac027fe83225d0be0 100644 (file)
@@ -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()