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 terry.reedy
Recipients THRlWiTi, Todd.Rovito, asvetlov, docs@python, eric.araujo, georg.brandl, markroseman, ned.deily, python-dev, roger.serwy, terry.reedy, zach.ware
Date 2015-09-11.02:07:23
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
In msg185726 Ned said "Ironically, the Tk text widget is perfectly capable of rendering richer text styles." He was and is correct.  Mark Roseman offered to take up the challenge.  In spite of my skepticism, he went ahead and built sphinxview around HTMLParser.  This reduced the core of the problem to "for each tag, content, and end tag, what state change or text insertion is needed. The result is simple enough for me to understand and even edit.

I sent Mark a detailed comparison of the Firefox rendering of idle.html and his tk rendering.  He replied with a new version whose output is essentially identical to Firefox's (minus links), including the green example box.  I intend to use a third version and will work on a full patch.

When running in a repository clone, Idle could access ../../Doc/build/html/library/idle.html.  But for installations, idle.html needs to be in idlelib.  I guess the only was to guarantee this everywhere (excepting overt downstream removals) is to commit it into the repository, unlike most other files built from .rst files). 

To help make sure this happens, I would like to add a comment at the top of idle.rst.  The devguide sentence on comments is unclear to me. Will the following work?
.. # After editing this, also build html, copy idle.html to idlelib,
   test, and upload or commit the html diff also.

It would be nice if the copy and commit process were added to the release process, but I will go ahead even without that.  A nicely rendered, slightly out-of-date .html will be a great improvement over the current situation.
Date User Action Args
2015-09-11 02:07:25terry.reedysetrecipients: + terry.reedy, georg.brandl, ned.deily, roger.serwy, eric.araujo, asvetlov, markroseman, THRlWiTi, docs@python, Todd.Rovito, python-dev, zach.ware
2015-09-11 02:07:25terry.reedysetmessageid: <>
2015-09-11 02:07:25terry.reedylinkissue16893 messages
2015-09-11 02:07:23terry.reedycreate