diff options
author | Benjamin Peterson <benjamin@python.org> | 2008-07-31 15:20:45 (GMT) |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2008-07-31 15:20:45 (GMT) |
commit | ca0c8ab97d45adfde5c62e50c8f66a5529ec00e8 (patch) | |
tree | 1557b694e101b2a5b8c5b136de3af789ba8047b5 /Lib/tkinter | |
parent | 4ae19463aa05bc3567d8b2cfe46ce2533936878b (diff) | |
download | cpython-ca0c8ab97d45adfde5c62e50c8f66a5529ec00e8.zip cpython-ca0c8ab97d45adfde5c62e50c8f66a5529ec00e8.tar.gz cpython-ca0c8ab97d45adfde5c62e50c8f66a5529ec00e8.tar.bz2 |
Merged revisions 65328 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r65328 | benjamin.peterson | 2008-07-31 10:15:45 -0500 (Thu, 31 Jul 2008) | 1 line
remove usage of MacOS from Tkinter
........
Diffstat (limited to 'Lib/tkinter')
-rw-r--r-- | Lib/tkinter/__init__.py | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/Lib/tkinter/__init__.py b/Lib/tkinter/__init__.py index 07eb757..dbb632b 100644 --- a/Lib/tkinter/__init__.py +++ b/Lib/tkinter/__init__.py @@ -39,10 +39,6 @@ if sys.platform == "win32": import _tkinter # If this fails your Python may not be configured for Tk TclError = _tkinter.TclError from tkinter.constants import * -try: - import MacOS; _MacOS = MacOS; del MacOS -except ImportError: - _MacOS = None wantobjects = 1 @@ -1650,12 +1646,6 @@ class Tk(Misc, Wm): def _loadtk(self): self._tkloaded = 1 global _default_root - 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() # Version sanity checks tk_version = self.tk.getvar('tk_version') if tk_version != _tkinter.TK_VERSION: |