Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gh-95841: IDLE - Revise Windows local doc url #95845

Merged
merged 2 commits into from Aug 11, 2022

Conversation

terryjreedy
Copy link
Member

@terryjreedy terryjreedy commented Aug 10, 2022

#91242 replaced the Windows chm help file with a copy
of the html docs. This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
It is based on Steve Dower's #91242 (comment).

Co-authored-by: Steve Dower

python#91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
@terryjreedy terryjreedy added type-bug An unexpected behavior, bug, or error skip news needs backport to 3.10 only security fixes needs backport to 3.11 only security fixes labels Aug 10, 2022
@terryjreedy terryjreedy self-assigned this Aug 10, 2022
@terryjreedy terryjreedy requested a review from zooba August 10, 2022 01:01
Copy link
Member

@zooba zooba left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM other than the Windows-only import, but maybe you know that's fine.

Lib/idlelib/editor.py Outdated Show resolved Hide resolved
Lib/idlelib/editor.py Outdated Show resolved Hide resolved
@terryjreedy
Copy link
Member Author

terryjreedy commented Aug 11, 2022

Thank you for reviewing. After fixes, manual re-tests on repository 3.12 and installed 3.11 still pass.

A found hours ago, I found an August 2012 patch by Ned Deily updating the linux and macOS locations and changing the code a bit. I am saving that, with new updates, for 3.11.1.

@terryjreedy terryjreedy merged commit bdb2cf8 into python:main Aug 11, 2022
@miss-islington
Copy link
Contributor

Thanks @terryjreedy for the PR 🌮🎉.. I'm working now to backport this PR to: 3.10, 3.11.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 11, 2022
pythonGH-91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Steve Dower
(cherry picked from commit bdb2cf8)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-95905 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label Aug 11, 2022
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 11, 2022
pythonGH-91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Steve Dower
(cherry picked from commit bdb2cf8)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
@bedevere-bot
Copy link

GH-95906 is a backport of this pull request to the 3.10 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.10 only security fixes label Aug 11, 2022
@terryjreedy terryjreedy deleted the winhelp branch August 11, 2022 20:56
miss-islington added a commit that referenced this pull request Aug 11, 2022
GH-91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.
Co-authored-by: Steve Dower
(cherry picked from commit bdb2cf8)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy pushed a commit that referenced this pull request Aug 12, 2022
GH-91242 replaced the Windows chm help file with a copy
of the html docs.  This PR replaces the IDLE code that
fetches the Windows local help url passed to os.startfile.

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Co-authored-by: Steve Dower
Approved by Steve Dower, #95845 (review), 2nd subblock.

(cherry picked from commit bdb2cf8)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip news type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants