Terry J. Reedy added the comment:

Further experiments reveal that the **s mean 'the undo buffer is not empty'.  
Enter
>>> import time; time.sleep(2)
and ** do not disappear until sleep finishes and a new prompt is displayed. 
Enter a character at the prompt and ** appear. Delete the char and ** stay. Hit 
^z (undo) twice and ** disappear. For the final proof, recall the sleep 
statement and increase the sleep time to at least 5. Hit enter and ^Z enough 
times during the sleep and the statement and ** both disappear before sleep 
ends and the new prompt displayded.  The behavior is the same after saving 
Shell, which adds the name of the file to the title.

Using ** on the title bar to indicate the status of the undo buffer is 
undocumented as far as I know. I would agree that this is surprising, not very 
useful, and that having ** mean 'unsaved' for Shell as well as for other 
windows might be more useful.

----------
stage:  -> needs patch

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

Reply via email to