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 terry.reedy
Recipients serhiy.storchaka, terry.reedy, wyz23x2
Date 2020-08-15.10:58:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1597489107.92.0.962369391515.issue41549@roundup.psfhosted.org>
In-reply-to
Content
The global completion list for Shell or Editor comprises keywords (recently added), builtins, and global names bound by code executed in the current subprocess.  The doc recommends restarting the subprocess when editing so that the global names are those resulting from the code being edited rather than code enter in Shell.  (I an trying to make this even clearer in the doc.)

wyz23x2 appears to claim that at least one leading underscore name, in particular '_', appeared in the list without having ever entered '_' as the prefix to be completed.  That would be a bug.  (_ names appear after ZeroDivisionError.)  This might have happened in the past, but I do not see this in current IDLE.  Without further info, I will close this as 'not a bug'. 

If '_' appeared alone, without the builtins, that would be a deeper bug.
History
Date User Action Args
2020-08-15 10:58:28terry.reedysetrecipients: + terry.reedy, serhiy.storchaka, wyz23x2
2020-08-15 10:58:27terry.reedysetmessageid: <1597489107.92.0.962369391515.issue41549@roundup.psfhosted.org>
2020-08-15 10:58:27terry.reedylinkissue41549 messages
2020-08-15 10:58:27terry.reedycreate