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.

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:33terry.reedysetrecipients: + terry.reedy
2014-07-23 21:24:33terry.reedysetmessageid: <1406150673.05.0.480577347652.issue22053@psf.upfronthosting.co.za>
2014-07-23 21:24:33terry.reedylinkissue22053 messages
2014-07-23 21:24:32terry.reedycreate