[Python-checkins] CVS: python/dist/src/Tools/idle OutputWindow.py,1.5,1.5.22.1
Guido van Rossum
gvanrossum@users.sourceforge.net
Thu, 28 Feb 2002 14:59:04 -0800
Update of /cvsroot/python/python/dist/src/Tools/idle
In directory usw-pr-cvs1:/tmp/cvs-serv8259
Modified Files:
Tag: release22-maint
OutputWindow.py
Log Message:
Merge bugfix:
Patch #520483: Make IDLE OutputWindow handle Unicode.
2.2.1 candidate.
Index: OutputWindow.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Tools/idle/OutputWindow.py,v
retrieving revision 1.5
retrieving revision 1.5.22.1
diff -C2 -d -r1.5 -r1.5.22.1
*** OutputWindow.py 17 Jan 2001 08:48:39 -0000 1.5
--- OutputWindow.py 28 Feb 2002 22:59:02 -0000 1.5.22.1
***************
*** 35,39 ****
def write(self, s, tags=(), mark="insert"):
! self.text.insert(mark, str(s), tags)
self.text.see(mark)
self.text.update()
--- 35,39 ----
def write(self, s, tags=(), mark="insert"):
! self.text.insert(mark, s, tags)
self.text.see(mark)
self.text.update()