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 2016年02月12日 22:08 by terry.reedy, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 17103 | merged | ZackerySpytz, 2019年11月10日 06:57 | |
| PR 17118 | merged | miss-islington, 2019年11月12日 10:54 | |
| PR 17119 | merged | miss-islington, 2019年11月12日 10:54 | |
| Messages (6) | |||
|---|---|---|---|
| msg260205 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2016年02月12日 22:08 | |
When one saves the IDLE Shell window, at least when the cursor is at the prompt, \n is added, so that >>> | changes to >>> | This seems wrong. It does not happen in editor windows. I should check Output Windows. |
|||
| msg356423 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2019年11月12日 07:45 | |
Zachary determined that the issue is that writing calls iomenu.IOBinding.fixlastline, which unconditionally adds \n at the end if there is one. That is not needed for the Shell and wrong when it ends with a prompt, which is the normal case. |
|||
| msg356436 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2019年11月12日 10:54 | |
New changeset c8b53dc3d8f721ed8519aa5a35530a42fbfb9424 by Terry Jan Reedy (Zackery Spytz) in branch 'master': bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103) https://github.com/python/cpython/commit/c8b53dc3d8f721ed8519aa5a35530a42fbfb9424 |
|||
| msg356441 - (view) | Author: miss-islington (miss-islington) | Date: 2019年11月12日 11:13 | |
New changeset 177b12682cad7edf9cdea91382acc4232c0167e6 by Miss Islington (bot) in branch '3.7': bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103) https://github.com/python/cpython/commit/177b12682cad7edf9cdea91382acc4232c0167e6 |
|||
| msg356442 - (view) | Author: miss-islington (miss-islington) | Date: 2019年11月12日 11:13 | |
New changeset 8ce1a9ce038d1a5fda03ae76964002857a2a52f9 by Miss Islington (bot) in branch '3.8': bpo-26353: IDLE adds an unneeded newline when saving a shell window (GH-17103) https://github.com/python/cpython/commit/8ce1a9ce038d1a5fda03ae76964002857a2a52f9 |
|||
| msg356583 - (view) | Author: Zackery Spytz (ZackerySpytz) * (Python triager) | Date: 2019年11月14日 07:35 | |
Thank you, Terry, for modifying the PR and merging it. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:27 | admin | set | github: 70541 |
| 2019年11月14日 07:35:51 | ZackerySpytz | set | nosy:
+ ZackerySpytz messages: + msg356583 |
| 2019年11月12日 11:14:07 | terry.reedy | set | status: open -> closed resolution: fixed stage: patch review -> resolved |
| 2019年11月12日 11:13:40 | miss-islington | set | nosy:
+ miss-islington messages: + msg356442 |
| 2019年11月12日 11:13:40 | miss-islington | set | nosy:
+ miss-islington messages: + msg356441 |
| 2019年11月12日 10:54:32 | miss-islington | set | pull_requests: + pull_request16625 |
| 2019年11月12日 10:54:25 | miss-islington | set | pull_requests: + pull_request16624 |
| 2019年11月12日 10:54:13 | terry.reedy | set | messages: + msg356436 |
| 2019年11月12日 07:45:33 | terry.reedy | set | messages:
+ msg356423 versions: + Python 3.7, Python 3.8, Python 3.9, - Python 3.5, Python 3.6 |
| 2019年11月10日 06:57:52 | ZackerySpytz | set | keywords:
+ patch stage: test needed -> patch review pull_requests: + pull_request16609 |
| 2017年06月19日 19:02:53 | terry.reedy | set | assignee: terry.reedy components: + IDLE |
| 2016年02月12日 22:08:12 | terry.reedy | create | |