[Python-checkins] r70218 - in python/trunk: Lib/lib-tk/Tkinter.py Misc/NEWS
guilherme.polo
python-checkins at python.org
Sat Mar 7 02:19:12 CET 2009
Author: guilherme.polo
Date: Sat Mar 7 02:19:12 2009
New Revision: 70218
Log:
Fixed issue #5193: Guarantee that Tkinter.Text.search returns a string.
Modified:
python/trunk/Lib/lib-tk/Tkinter.py
python/trunk/Misc/NEWS
Modified: python/trunk/Lib/lib-tk/Tkinter.py
==============================================================================
--- python/trunk/Lib/lib-tk/Tkinter.py (original)
+++ python/trunk/Lib/lib-tk/Tkinter.py Sat Mar 7 02:19:12 2009
@@ -3046,7 +3046,7 @@
args.append(pattern)
args.append(index)
if stopindex: args.append(stopindex)
- return self.tk.call(tuple(args))
+ return str(self.tk.call(tuple(args)))
def see(self, index):
"""Scroll such that the character at INDEX is visible."""
self.tk.call(self._w, 'see', index)
Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS (original)
+++ python/trunk/Misc/NEWS Sat Mar 7 02:19:12 2009
@@ -168,6 +168,8 @@
Library
-------
+- Issue #5193: Guarantee that Tkinter.Text.search returns a string.
+
- Issue #5394: removed > 2.3 syntax from distutils.msvc9compiler.
Original patch by Akira Kitada.
More information about the Python-checkins
mailing list