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 christian.heimes, corona10, terry.reedy, vstinner, xtreak
Date 2020-11-26.22:23:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1606429425.42.0.536882715014.issue42299@roundup.psfhosted.org>
In-reply-to
Content
A coda on my 'obsolete and superseded' claim: text formatting events have 2 sources -- the text being displayed and user actions while reading.  formatter somewhat mixes these together.

html.parser.HTMLParser generates events from the text in the form of calls to handle_xyz methods, where 'xyy is most commonly 'starttag', 'data', 'endtag'.  HTMLPareser subclasses replace the default 'pass' implementations.  So the idea is similar to  formatter.NullFormatter.  IDLE uses the tkinter Text widget as the writer instance for its HTMLParser subclass.  Responses to events may depend on user settings, which may be changed by user events.

For a GUI app, user events are handled by the GUI framework and may or mayy not require user coding to handle.
History
Date User Action Args
2020-11-26 22:23:45terry.reedysetrecipients: + terry.reedy, vstinner, christian.heimes, corona10, xtreak
2020-11-26 22:23:45terry.reedysetmessageid: <1606429425.42.0.536882715014.issue42299@roundup.psfhosted.org>
2020-11-26 22:23:45terry.reedylinkissue42299 messages
2020-11-26 22:23:44terry.reedycreate