This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients serhiy.storchaka, terry.reedy, wyz23x2
Date 2020-08-14.18:57:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597431476.72.0.785847262795.issue41549@roundup.psfhosted.org>
In-reply-to
Content
I think that I understood what is the issue.

1. Open the IDLE editor, type "foo" and press <Ctrl-Space>. The pop-up list does not contain "foo".
2. Switch to the IDLE shell, type "foo = 1" and press <Enter>.
3. Switch back to the IDLE editor (the cursor points after "foo") and press <Ctrl-Space> again. The pop-up list contains now "foo".

The problem is that the completion list for editor contains names from the shell instead of only from builtins. When you run the code from the editor, names from the shell are not automatically available.

It can be a feature if you use the same star-import in the shell and editor, but it can also be considered as a bug.
History
Date User Action Args
2020-08-14 18:57:56serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, wyz23x2
2020-08-14 18:57:56serhiy.storchakasetmessageid: <1597431476.72.0.785847262795.issue41549@roundup.psfhosted.org>
2020-08-14 18:57:56serhiy.storchakalinkissue41549 messages
2020-08-14 18:57:56serhiy.storchakacreate