Terry J. Reedy <tjre...@udel.edu> added the comment:

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.

----------
versions: +Python 3.10 -Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue41549>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to