[issue27609] IDLE completions: format, factor, and fix

2020-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The removed post duplicates the content of #37766. Another bug is reported and will be fixed there. -- ___ Python tracker ___ _

[issue27609] IDLE completions: format, factor, and fix

2020-07-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg373259 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue27609] IDLE completions: format, factor, and fix

2020-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: 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 b

[issue27609] IDLE completions: format, factor, and fix

2020-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: fetch_completions code could stand some refactoring. The test should be split at least between attrs and files. -- ___ Python tracker ___ _

[issue27609] IDLE completions: format, factor, and fix

2020-06-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: 40892 Use prefixes from rlcompleter. Compute constant once. -- dependencies: +IDLE: use rlcompleter suffixed for completions versions: +Python 3.10 -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker

[issue27609] IDLE completions: format, factor, and fix

2019-12-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: 38943 Autocomplete box sometimes does not show on Ubuntu. 38944 Excape key should close completion box. -- dependencies: +Idle autocomplete window doesn't close on Escape key, Idle autocomplete window doesn't show up _

[issue27609] IDLE completions: format, factor, and fix

2019-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: #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. #37766 revise fetch_completions, add htest

[issue27609] IDLE completions: format, factor, and fix

2018-05-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: In re-verifying #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. -- nosy: +csabella vers

[issue27609] IDLE completions: format, factor, and fix

2017-06-19 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- components: +IDLE ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue27609] IDLE completions: format, factor, and fix

2017-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: #30632 autocomplete tests #30666 autocomplete_w tests -- dependencies: +IDLE: add tests for autocomplete window., IDLE: add unittests to test_autocomplete, IDLE: revise doc subsections 'Completions' -IDLE code completion window can hang or misbehave wi

[issue27609] IDLE completions: format, factor, and fix

2017-06-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: #30666 Add completion tests #30667 Revise completion doc #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. -- nosy: -python-dev __

[issue27609] IDLE completions: format, factor, and fix

2016-08-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add 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. -- dependencies: +IDLE does not fully color raw string directory paths

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I just partly fixed #16198. Anything more depends on a careful definition of desired behavior that turns out to be different from current behavior. -- ___ Python tracker

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Roundup Robot
Roundup Robot added the comment: New changeset 1ec47de72538 by Terry Jan Reedy in branch 'default': Issue #27609: Explicitly return None when there are other returns. https://hg.python.org/cpython/rev/1ec47de72538 -- nosy: +python-dev ___ Python track

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Add dependencies. Last two, #27099 and #27534 involve multiple files and should be removed from this autocomplete list when autocomplete part is done. -- dependencies: +IDLE - tabbing in a string always brings up file completion window, IDLE code comp

[issue27609] IDLE completions: format, factor, and fix

2016-07-24 Thread Terry J. Reedy
New submission from Terry J. Reedy: IDLE completions are currently implemented in two files: autocomplete.py and autocomplete_w.py. (Before 3.6, these were AutoComplete.py and AutoCompleteWindow.py.) The first handles 'open' events, decideds whether to open a window, and gathers possible comp