[issue41278] Wrong Completion on Editing Mode of IDLE

E. Paine report at bugs.python.org
Tue Jul 14 11:02:31 EDT 2020


E. Paine <paineelisha at gmail.com> added the comment:

I can only seem to reproduce this in shell and that is by importing "idlelib.__main__" before then typing "__main__."

However, typing "__main__." in shell and editor (without importing "idlelib.__main__") does give different completions. In shell, it gives a list of the usual "__annotations__", "__builtins__", etc. However, in editor (run from the home directory without any command-line flags), the only completion is "main" (note: the shell must be closed, otherwise it will give the same completions as the shell)

----------
nosy: +epaine

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


More information about the Python-bugs-list mailing list