[issue37765] IDLE: Include longer keywords in __main__ autocomplete list

Tal Einat report at bugs.python.org
Tue Jul 7 17:40:02 EDT 2020


Tal Einat <taleinat+python at gmail.com> added the comment:

Auto-completion is not just about saving keystrokes. For example, I assume that many Python beginners just read through the completion list to see what the options are. This inconsistency would be hard to grok.

I think that including only some of the keywords in the completions list could potentially be very confusing. We'd have "class" but not "def", "finally" but not "else", "while" but not "for".

If the standard REPL completes keywords (at least on some platforms) that's a good enough argument to include them in IDLE, in my opinion.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue37765>
_______________________________________


More information about the Python-bugs-list mailing list