Repository navigation
Open
Labels
Description
| BPO | 27609 |
|---|---|
| Nosy | @terryjreedy, @csabella |
| Dependencies |
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 = None
created_at = <Date 2016-07-25.00:03:08.689>
labels = ['expert-IDLE', 'type-bug', '3.10']
title = 'IDLE completions: format, factor, and fix'
updated_at = <Date 2020-07-09.23:51:51.090>
user = 'https://github.com/terryjreedy'bugs.python.org fields:
activity = <Date 2020-07-09.23:51:51.090>
actor = 'terry.reedy'
assignee = 'terry.reedy'
closed = False
closed_date = None
closer = None
components = ['IDLE']
creation = <Date 2016-07-25.00:03:08.689>
creator = 'terry.reedy'
dependencies = ['16198', '17238', '18766', '21261', '22554', '27099', '27534', '27675', '30632', '30666', '30667', '37765', '37766', '38943', '38944', '40892']
files = []
hgrepos = []
issue_num = 27609
keywords = []
message_count = 13.0
messages = ['271186', '271187', '271190', '271214', '271923', '296032', '296033', '316311', '349070', '358150', '370846', '373265', '373433']
nosy_count = 2.0
nosy_names = ['terry.reedy', 'cheryl.sabella']
pr_nums = []
priority = 'normal'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27609'
versions = ['Python 3.10']Metadata
Metadata
Assignees
Labels
Projects
- StatusShow more project fieldsNo status
Activity
terryjreedy commentedon Jul 25, 2016
IDLE completions are currently implemented in two files: autocomplete.py and autocomplete_w.py. The first handles 'open' events, decides whether to open a window, and gathers possible completions. The second open a popup and works with the sorted list of possible completions.
FIX
ENHANCE
REFACTOR
Part of IDLE: Reduce number and time for user process imports #71721
Question: Why does 'dooneevent' appear in 2.x code and not 3.x code?
Tests: The currently only for a subset of autocomplete methods. There are none for the buggy window.
terryjreedy commentedon Jul 25, 2016
Add dependencies. Last two, bpo-27099 and bpo-27534 involve multiple files and should be removed from this autocomplete list when autocomplete part is done.
python-dev commentedon Jul 25, 2016
New changeset 1ec47de72538 by Terry Jan Reedy in branch 'default':
Issue bpo-27609: Explicitly return None when there are other returns.
https://hg.python.org/cpython/rev/1ec47de72538
terryjreedy commentedon Aug 3, 2016
Add bpo-27675. If open quote is ' or '', actions (character key or box selection with up or down arrow) after first are not colored. ' and ''' do not complete, when needed, nor close.
terryjreedy commentedon Jun 14, 2017
bpo-30666 Add completion tests
bpo-30667 Revise completion doc
bpo-15786 and additional discussion of completion behavior
Tab in opened box should and usually completes, but sometimes not. I don't have a consistent example.
terryjreedy commentedon Jun 14, 2017
bpo-30632 autocomplete tests
bpo-30666 autocomplete_w tests
terryjreedy commentedon May 9, 2018
In re-verifying bpo-27675, the color bug seems to be gone. The completion bug is still here, at least on Windows.
It would be good to sort the issues by whether they appear to affect autocomplete.py or autocomplete_w.py or both.
terryjreedy commentedon Aug 5, 2019
bpo-37765 Include keywords in ''(main) list.
###### Annotate completion list, at least as an option, with 'keyword' or class, possibly prefixed with 'built-in', so 'built-in function', 'function', and so on.
bpo-37766 revise fetch_completions, add htest
terryjreedy commentedon Dec 9, 2019
bpo-38943 Autocomplete box sometimes does not show on Ubuntu.
bpo-38944 Excape key should close completion box.
terryjreedy commentedon Jun 6, 2020
bpo-40892 Use prefixes from rlcompleter. Compute constant once.
terryjreedy commentedon Jul 7, 2020
Normally, tab completion works for attributes (after '.' and a possible prefix) and files (after os.sep and a possible prefix). Unique matches to prefixes are immediately selected, as for undotted module names. After changing the completion wait time and before restarting, this is disabled and tab adds spaces instead. This need a new issue and fix.
terryjreedy commentedon Jul 9, 2020
The removed post duplicates the content of bpo-37766. Another bug is reported and will be fixed there.
[-]IDLE completions: format, factor, and fix[/-][+]IDLE completions: format, factor, and fix tasks[/+]