Roger Serwy <roger.se...@gmail.com> added the comment:

Attached is a patch to fix the issue. The ranges_to_linenumbers function relies 
on the results of text.tag_ranges. The returned tuple contains Tk textindex 
objects. While these objects contain a string, they are not string objects. Its 
.string value must be used instead.

----------
keywords: +patch
nosy: +terry.reedy
priority: normal -> high
stage:  -> patch review
type: crash -> behavior
versions: +Python 2.7, Python 3.2, Python 3.3 -Python 3.1
Added file: http://bugs.python.org/file26432/issue9803.patch

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue9803>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to