Visitar URL original
bpo-27465: Make IDLE help source menu entries unique and sorted by ZackerySpytz · Pull Request #17093 · python/cpython · GitHub
The Wayback Machine - https://web.archive.org/web/20221223172914/https://github.com/python/cpython/pull/17093
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

bpo-27465: Make IDLE help source menu entries unique and sorted #17093

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented Nov 8, 2019 •

Copy link
Contributor

@taleinat taleinat left a comment

Great PR overall! Just two comments for your consideration.

@@ -2103,6 +2103,10 @@ def load_general_cfg(self):

# Set additional help sources.
self.user_helplist = idleConf.GetAllExtraHelpSourcesList()
self.set_additional_help_sources()

def set_additional_help_sources(self):
Copy link
Contributor

@taleinat taleinat Nov 14, 2019

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.

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
Contributor

@taleinat taleinat Nov 14, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants