[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

PR 15138 always adds keywords to the big list for the current module.  They are 
also normally present in the small list, when it only excludes '_' names.  But 
if the module being edited contains '__all__', the small list, which is the 
first list presented, is currently just __all__.  This excludes builtins and 
now keywords and possibly non-_ names defined in the module.  I think this 
restriction is a mistake; __all__ defines a limited external view of the 
module.  It is not intended to restrict the names used in the module.  I will 
remove the restriction (and a crash bug it contains) in a partly completed PR 
for #37766.

--
resolution:  -> fixed
stage: patch review -> resolved
status: open -> closed

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread miss-islington


miss-islington  added the comment:


New changeset 3d1c06e8b9eec5fc1ea2ed4dc1ea79c705da8ab8 by Miss Islington (bot) 
in branch '3.8':
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
https://github.com/python/cpython/commit/3d1c06e8b9eec5fc1ea2ed4dc1ea79c705da8ab8


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread miss-islington


miss-islington  added the comment:


New changeset fd27fb7f3dd157294f05bb060f7efd243732ab2d by Miss Islington (bot) 
in branch '3.9':
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
https://github.com/python/cpython/commit/fd27fb7f3dd157294f05bb060f7efd243732ab2d


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread miss-islington


Change by miss-islington :


--
pull_requests: +20572
pull_request: https://github.com/python/cpython/pull/21424

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread miss-islington


Change by miss-islington :


--
nosy: +miss-islington
nosy_count: 5.0 -> 6.0
pull_requests: +20571
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/21423

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-09 Thread Terry J. Reedy


Terry J. Reedy  added the comment:


New changeset bce2eb4646021910aa4074d86f44a09b32d0b2b2 by Terry Jan Reedy in 
branch 'master':
bpo-37765: Add keywords to IDLE tab completions (GH-15138)
https://github.com/python/cpython/commit/bce2eb4646021910aa4074d86f44a09b32d0b2b2


--

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue37765] IDLE: Include keywords in module-level autocomplete list

2020-07-08 Thread Terry J. Reedy


Terry J. Reedy  added the comment:

Tal, I suggested the compromise because of your original objection.  Since you 
think half is worse than all, I will revert the change.  It did get me to do a 
needed rewrite of the Completions section of the IDLE doc.

--
title: IDLE: Include longer keywords in __main__ autocomplete list -> IDLE: 
Include keywords in module-level autocomplete list

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com