Skip to content

gh-71652: Make IDLE help source menu entries unique and sorted#17093

Open
ZackerySpytz wants to merge 1 commit into
python:mainfrom
ZackerySpytz:bpo-27465-idle-help-source-menu
Open

gh-71652: Make IDLE help source menu entries unique and sorted#17093
ZackerySpytz wants to merge 1 commit into
python:mainfrom
ZackerySpytz:bpo-27465-idle-help-source-menu

Conversation

@ZackerySpytz

@ZackerySpytz ZackerySpytz commented Nov 8, 2019

Copy link
Copy Markdown
Contributor

@taleinat taleinat left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Great PR overall! Just two comments for your consideration.

self.user_helplist = idleConf.GetAllExtraHelpSourcesList()
self.set_additional_help_sources()

def set_additional_help_sources(self):

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMO this method should also be setting self.user_helplist = idleConf.GetAllExtraHelpSourcesList() rather than assuming it is set elsewhere before it is called.

Comment thread Doc/library/idle.rst
Additional help sources may be added here with the Configure IDLE dialog under
the General tab. See the :ref:`Help sources <help-sources>` subsection below
for more on Help menu choices.
Additional help sources

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

IMHO giving more details here is counter-productive. That the menu items must be unique and sorted are rather minor, technical details. And I find this sentence to be stating the obvious: "The allowed file types may depend on the system." As for checking things when submitted, users will discover that themselves when using the feature, and I'm really not sure documenting it here is valuable.

@hauntsaninja hauntsaninja changed the title bpo-27465: Make IDLE help source menu entries unique and sorted gh-71652: Make IDLE help source menu entries unique and sorted Jan 7, 2023
@github-actions

github-actions Bot commented Apr 7, 2026

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants