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

Idle: add better access to extension information #66405

Closed
terryjreedy opened this issue Aug 16, 2014 · 2 comments
Closed

Idle: add better access to extension information #66405

terryjreedy opened this issue Aug 16, 2014 · 2 comments
Assignees
Labels
3.7 (EOL) end of life topic-IDLE type-feature A feature request or enhancement

Comments

@terryjreedy
Copy link
Member

BPO 22209
Nosy @terryjreedy

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/terryjreedy'
closed_at = <Date 2020-06-06.23:17:26.158>
created_at = <Date 2014-08-16.00:57:21.020>
labels = ['expert-IDLE', 'type-feature', '3.7']
title = 'Idle: add better access to extension information'
updated_at = <Date 2020-06-06.23:17:26.157>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2020-06-06.23:17:26.157>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = True
closed_date = <Date 2020-06-06.23:17:26.158>
closer = 'terry.reedy'
components = ['IDLE']
creation = <Date 2014-08-16.00:57:21.020>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 22209
keywords = []
message_count = 2.0
messages = ['225378', '370859']
nosy_count = 1.0
nosy_names = ['terry.reedy']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue22209'
versions = ['Python 3.6', 'Python 3.7']

@terryjreedy
Copy link
Member Author

In msg225377 of bpo-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.

@terryjreedy terryjreedy added the type-feature A feature request or enhancement label Aug 16, 2014
@terryjreedy terryjreedy self-assigned this Jun 19, 2017
@terryjreedy
Copy link
Member Author

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.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.7 (EOL) end of life topic-IDLE type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

1 participant