]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859) (#129885)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sun, 9 Feb 2025 09:19:55 +0000 (10:19 +0100)
committerGitHub <noreply@github.com>
Sun, 9 Feb 2025 09:19:55 +0000 (04:19 -0500)
commitfd8d445cb3a9756f43a1a119e9b2dc8d6a508541
tree1a811bcaf9b3fc06cb48a6ecfe8c36278c2dc3d8
parent550ec5cf35a033585f3f025a85d267cdd762ff6a
[3.12] gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859) (#129885)

gh-129873: IDLE: Improve help.py's method of parsing HTML (GH-129859)

In `help.copy_strip`, only copy the text `<section>`.  In `help.HelpParser.handle_starttag` and elsewhere, remove code to skip the no longer present html.  Add a reminder at the top of idle.rst to run copy_strip after changes.
---------

(cherry picked from commit 6fbf15f98e04f582aeccf5334a94840149ff7cd5)

Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com>
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Doc/library/idle.rst
Lib/idlelib/News3.txt
Lib/idlelib/help.html
Lib/idlelib/help.py
Misc/NEWS.d/next/IDLE/2025-02-08-23-42-24.gh-issue-129873.-gofkd.rst [new file with mode: 0644]