Message223780
| Author |
terry.reedy |
| Recipients |
terry.reedy |
| Date |
2014年07月23日.21:24:32 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1406150673.05.0.480577347652.issue22053@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
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. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年07月23日 21:24:33 | terry.reedy | set | recipients:
+ terry.reedy |
| 2014年07月23日 21:24:33 | terry.reedy | set | messageid: <1406150673.05.0.480577347652.issue22053@psf.upfronthosting.co.za> |
| 2014年07月23日 21:24:33 | terry.reedy | link | issue22053 messages |
| 2014年07月23日 21:24:32 | terry.reedy | create |
|