[Python-checkins] r67737 - in python/branches/release25-maint: Lib/lib-tk/Tkinter.py Misc/NEWS
martin.v.loewis
python-checkins at python.org
Sat Dec 13 16:04:58 CET 2008
Author: martin.v.loewis
Date: Sat Dec 13 16:04:58 2008
New Revision: 67737
Log:
Backport of r59654.
Issue #4342: Always convert Text.index result to string.
Modified:
python/branches/release25-maint/Lib/lib-tk/Tkinter.py
python/branches/release25-maint/Misc/NEWS
Modified: python/branches/release25-maint/Lib/lib-tk/Tkinter.py
==============================================================================
--- python/branches/release25-maint/Lib/lib-tk/Tkinter.py (original)
+++ python/branches/release25-maint/Lib/lib-tk/Tkinter.py Sat Dec 13 16:04:58 2008
@@ -3005,7 +3005,7 @@
return self.tk.call(self._w, "image", "names")
def index(self, index):
"""Return the index in the form line.char for INDEX."""
- return self.tk.call(self._w, 'index', index)
+ return str(self.tk.call(self._w, 'index', index))
def insert(self, index, chars, *args):
"""Insert CHARS before the characters at INDEX. An additional
tag can be given in ARGS. Additional CHARS and tags can follow in ARGS."""
Modified: python/branches/release25-maint/Misc/NEWS
==============================================================================
--- python/branches/release25-maint/Misc/NEWS (original)
+++ python/branches/release25-maint/Misc/NEWS Sat Dec 13 16:04:58 2008
@@ -109,6 +109,8 @@
Library
-------
+- Issue #4342: Always convert Text.index result to string.
+
- Issue 3248: Allow placing ScrolledText in a PanedWindow.
- Issue #4084: Fix max, min, max_mag and min_mag Decimal methods to
More information about the Python-checkins
mailing list