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.
Created on 2014年07月08日 04:42 by rhettinger, last changed 2022年04月11日 14:58 by admin.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 3701 | open | cheryl.sabella, 2017年09月22日 18:32 | |
| Messages (5) | |||
|---|---|---|---|
| msg222542 - (view) | Author: Raymond Hettinger (rhettinger) * (Python committer) | Date: 2014年07月08日 04:42 | |
* Open a Python Shell * Save as session_log.txt * Type a line of code * Notice that the asterisk for "unsaved" does not appear |
|||
| msg222792 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2014年07月11日 20:31 | |
In installed 3.4.1 on Win 7, I *do* get the unsaved * back when typing. It disappears again when I hit return. So on this system, the meaning seems to be 'unsubmitted code'. Saving in the middle of a line inserts '\n' before saving (but does not submit for execution) and also removes *. |
|||
| msg228242 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2014年10月02日 17:27 | |
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. |
|||
| msg248159 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2015年08月06日 22:59 | |
A follow-on issue would be to have an option to prompt to save (as with editor windows) or autosave when closing the shell. A default path might be .idlerc/shellsave.txt. |
|||
| msg302501 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2017年09月19日 05:16 | |
The 'follow-on' issue is #23666. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:05 | admin | set | github: 66136 |
| 2019年09月19日 18:46:46 | terry.reedy | set | versions: + Python 3.9, - Python 2.7, Python 3.4, Python 3.5, Python 3.6 |
| 2017年09月22日 18:32:43 | cheryl.sabella | set | keywords:
+ patch stage: needs patch -> patch review pull_requests: + pull_request3685 |
| 2017年09月19日 05:16:17 | terry.reedy | set | messages: + msg302501 |
| 2015年08月06日 22:59:04 | terry.reedy | set | messages:
+ msg248159 versions: + Python 3.6 |
| 2014年10月02日 17:27:49 | terry.reedy | set | messages:
+ msg228242 stage: needs patch |
| 2014年07月11日 20:31:32 | terry.reedy | set | nosy:
+ terry.reedy messages: + msg222792 |
| 2014年07月08日 11:57:31 | Saimadhav.Heblikar | set | nosy:
+ Saimadhav.Heblikar |
| 2014年07月08日 04:42:03 | rhettinger | create | |