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

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]