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月23日 21:24 by terry.reedy, last changed 2022年04月11日 14:58 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| turdemo_start_stop.diff | terry.reedy, 2014年07月23日 21:24 | review | ||
| Messages (6) | |||
|---|---|---|---|
| msg223780 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2014年07月23日 21:24 | |
The patch adds a main function with the minimum needed to start the mainloop. It omits the 'while RUN' loop and development code for catching exceptions while running. They should never happen, and silently suppressing tracebacks is a bad idea. The patch also deletes the unneeded sys.exit() call from _destroy. In 3.x debug builds, this call results in the following clipped warning being printed in the startup console. while executing "46111032_destroy" (command for "WM_DELETE_WINDOW" window manager protocol) These no longer occur when sys.exit() is removed. Turtledemo works fine with these changes. |
|||
| msg223781 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年07月23日 21:28 | |
New changeset 823f5507bd86 by Terry Jan Reedy in branch '2.7': Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning. http://hg.python.org/cpython/rev/823f5507bd86 New changeset 57531d65cdd4 by Terry Jan Reedy in branch '3.4': Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning. http://hg.python.org/cpython/rev/57531d65cdd4 |
|||
| msg223920 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年07月25日 06:27 | |
New changeset 7a55b34f1db2 by Terry Jan Reedy in branch '2.7': Issue #22053: Make help work, after previous patch for this issue disabled it http://hg.python.org/cpython/rev/7a55b34f1db2 New changeset c26862955342 by Terry Jan Reedy in branch '3.4': Issue #22053: Make help work, after previous patch for this issue disabled it http://hg.python.org/cpython/rev/c26862955342 New changeset 8c972d528f06 by Terry Jan Reedy in branch 'default': Issue #22053: Make help work, after previous patch for this issue disabled it http://hg.python.org/cpython/rev/8c972d528f06 |
|||
| msg223921 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2014年07月25日 06:43 | |
Removal of 'demo' as a global name disabled help callbacks. I could have added 'global demo' to main(), but I decided to refactor and remove duplicate code instead. For 3.5, however, refactor would not merge because of #10291, so I made the simplest fix pending a decision on what to do. |
|||
| msg225334 - (view) | Author: Terry J. Reedy (terry.reedy) * (Python committer) | Date: 2014年08月15日 04:51 | |
After backporting 004fe3449193 (#10921 3.5 patch) with changes as 7708f80940b0, forward port to 3.5 the 3.4 patch c26862955342 that did not merge before. The 3.4 and 3.5 files are identical. Misdirected changeset notices: New changeset 4349bbc21ca7 by Terry Jan Reedy in branch 'default': Issue #22065: forward port the changes in c26862955342, update docstring with http://hg.python.org/cpython/rev/4349bbc21ca7 New changeset 59cc3bfdac4b by Terry Jan Reedy in branch 'default': Issue #22065: Try the delete demohelp.txt part again. http://hg.python.org/cpython/rev/59cc3bfdac4b |
|||
| msg225336 - (view) | Author: Roundup Robot (python-dev) (Python triager) | Date: 2014年08月15日 04:57 | |
New changeset 5aa3f4863dda by Terry Jan Reedy in branch '3.4': #22053: actually remove .txt files from 3.4. http://hg.python.org/cpython/rev/5aa3f4863dda |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:58:06 | admin | set | github: 66252 |
| 2014年08月15日 04:57:26 | python-dev | set | messages: + msg225336 |
| 2014年08月15日 04:51:33 | terry.reedy | set | messages: + msg225334 |
| 2014年07月25日 06:43:00 | terry.reedy | set | messages: + msg223921 |
| 2014年07月25日 06:27:08 | python-dev | set | messages: + msg223920 |
| 2014年07月23日 21:29:21 | terry.reedy | set | status: open -> closed resolution: fixed stage: commit review -> resolved |
| 2014年07月23日 21:28:39 | python-dev | set | nosy:
+ python-dev messages: + msg223781 |
| 2014年07月23日 21:24:33 | terry.reedy | create | |