This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author roger.serwy
Recipients Jimbofbx, roger.serwy, terry.reedy
Date 2012-07-18.21:58:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342648687.09.0.145393697287.issue9803@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-07-18 21:58:07roger.serwysetrecipients: + roger.serwy, terry.reedy, Jimbofbx
2012-07-18 21:58:07roger.serwysetmessageid: <1342648687.09.0.145393697287.issue9803@psf.upfronthosting.co.za>
2012-07-18 21:58:06roger.serwylinkissue9803 messages
2012-07-18 21:58:05roger.serwycreate