This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Idle: add better access to extension information
Type: enhancement Stage: resolved
Components: IDLE Versions: Python 3.7, Python 3.6
process
Status: closed Resolution: out of date
Dependencies: Superseder:
Assigned To: terry.reedy Nosy List: terry.reedy
Priority: normal Keywords:

Created on 2014-08-16 00:57 by terry.reedy, last changed 2022-04-11 14:58 by admin. This issue is now closed.

Messages (2)
msg225378 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2014-08-16 00:57
In msg225377 of #17535, Ned Daily says "(Noted in passing: while the help/doc suggests: "See the beginning of config-extensions.def in the idlelib directory for further information.", even in the unlikely event that a user knew in what directory to look for it, it's not possible to open that file in an IDLE editor window with the current default Cocoa Tk's since Cocoa Tk does not provide a filter option on the open window; only .py* and .txt files can be opened.)"

Users should not normally poke around idlelib and should not need to or be asked to.  The extension information should either be added to the idle doc or make accessible on the help menu with an new 'Extensions' entry. If the docstring were moved to, say, configHandler.py, it would be trivial to access: 'from configHandler import __doc__ and help_extension".  Since configHandler already knows how to find the file, we can just read it up to the second """ line.

Note: regardless of the resolution of this issue, show_text() should be altered to start wide enough to show 80 char lines.
msg370859 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2020-06-06 23:17
Open on macOS Mohave now has an All files * filter option, and opening *.def is easy.  If not true on every Mac still getting new versions of Python, too bad.
History
Date User Action Args
2022-04-11 14:58:07adminsetgithub: 66405
2020-06-06 23:17:26terry.reedysetstatus: open -> closed
resolution: out of date
messages: + msg370859

stage: needs patch -> resolved
2017-06-19 22:57:16terry.reedysetassignee: terry.reedy
components: + IDLE
versions: + Python 3.6, Python 3.7, - Python 2.7, Python 3.4, Python 3.5
2014-08-16 00:57:21terry.reedycreate