From 0c3e4b6ca11cd89825a547fadcb20eb8a8e342e5 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 3 Dec 1999 16:08:50 +0000 Subject: Default schedparams set to (0,0): no event-intervention by Python mainloop. This was always meant to be the default, and the new example-2 was pretty critical of this. --- Mac/Lib/FrameWork.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Mac/Lib/FrameWork.py b/Mac/Lib/FrameWork.py index 8eafdace..899811a 100644 --- a/Mac/Lib/FrameWork.py +++ b/Mac/Lib/FrameWork.py @@ -160,9 +160,9 @@ class Application: # applications. break finally: - apply(MacOS.SchedParams, self.schedparams) + apply(MacOS.SchedParams, saveparams) - schedparams = MacOS.SchedParams() + schedparams = (0, 0) # By default disable Python's event handling def dopendingevents(self, mask = everyEvent): """dopendingevents - Handle all pending events""" -- cgit v0.12