classification
Title: tkinter uses MacOS
Type: behavior Stage:
Components: Versions: Python 3.0
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: benjamin.peterson, gpolo, loewis
Priority: critical Keywords:

Created on 2008-05-18 00:56 by benjamin.peterson, last changed 2008-07-31 15:16 by benjamin.peterson. This issue is now closed.

Messages (4)
msg67020 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-05-18 00:56
A few days ago I removed the MacOS module. I didn't realize that it was
used in Tkinter until today. It seems the module is only used in one spot:

        if _MacOS and hasattr(_MacOS, 'SchedParams'):
            # Disable event scanning except for Command-Period
            _MacOS.SchedParams(1, 0)
            # Work around nasty MacTk bug
            # XXX Is this one still needed?
            self.update()

Is this still needed? If so, this check will have to integrated into
_tkinter.
msg70478 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-07-31 02:12
[ccing people who might now if this should still be an issue.]
msg70517 - (view) Author: Guilherme Polo (gpolo) * (Python committer) Date: 2008-07-31 15:13
as I understand, MacOS.SchedParams is gone for more than 4 years now
(that is why you see this hasattr check everywhere). I doubt removing
this MacOS usage will do anything.
msg70518 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2008-07-31 15:16
Great! It's gone in r65328.
History
Date User Action Args
2008-07-31 15:16:42benjamin.petersonsetstatus: open -> closed
resolution: fixed
messages: + msg70518
2008-07-31 15:13:42gpolosetmessages: + msg70517
2008-07-31 02:12:09benjamin.petersonsetnosy: + loewis, gpolo
messages: + msg70478
2008-05-18 00:56:42benjamin.petersoncreate