diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-03 16:08:50 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1999-12-03 16:08:50 (GMT) |
commit | 0c3e4b6ca11cd89825a547fadcb20eb8a8e342e5 (patch) | |
tree | 24d01158911e5bf4100b686870ebb24d0857878f /Mac/Lib | |
parent | dd206899dbb0a876abc818c563a9a658a24ab452 (diff) | |
download | cpython-0c3e4b6ca11cd89825a547fadcb20eb8a8e342e5.zip cpython-0c3e4b6ca11cd89825a547fadcb20eb8a8e342e5.tar.gz cpython-0c3e4b6ca11cd89825a547fadcb20eb8a8e342e5.tar.bz2 |
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.
Diffstat (limited to 'Mac/Lib')
-rw-r--r-- | Mac/Lib/FrameWork.py | 4 |
1 files 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""" |