[New-bugs-announce] [issue27465] IDLE:Make help source menu entries unique and sorted.

Terry J. Reedy report at bugs.python.org
Thu Jul 7 21:58:46 EDT 2016


New submission from Terry J. Reedy:

The 'General' tab of the IDLE configuration menu allows a user to add entries to the Help menu that display a text when clicked.  A user might want more than one text available for a given 'topic', such as a doc and how-to for a package.  However, there is no need to have duplicate entries, as up to 30 chars are allowed.  "Package - doc" and "Package - how" would be clearer than "Package" and "Package".  Issue 27380 makes checking for unique entries easy as that is already done for user configuration file section names and the same base class is now used for help source names.

Currently, names are displayed in the order added.  I believe sorting would be better, especially when one adds more than 2 entries.  That should also be easy.

Existing duplicates would not be a problem for IDLE as the check would only apply when adding or editing an item.  Python's stable list.sort would keep existing duplicates in the same relative order.  I will *not* use the doc path to break ties.

----------
assignee: terry.reedy
messages: 269965
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE:Make help source menu entries unique and sorted.
type: behavior
versions: Python 3.6

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27465>
_______________________________________


More information about the New-bugs-announce mailing list