]> granicus.if.org Git - python/commitdiff
Temporarily disabled the import hook. It breaks with the package-based
authorJack Jansen <jack.jansen@cwi.nl>
Sun, 19 Aug 2001 22:00:20 +0000 (22:00 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sun, 19 Aug 2001 22:00:20 +0000 (22:00 +0000)
Carbon and its workaround.

Mac/Tools/IDE/Splash.py

index 60cd7c6dceda3882125a994163832d27c4bac38b..5293295dcc4340bccb75d8b4d0cde2fbf3332fdc 100644 (file)
@@ -32,6 +32,7 @@ def importing(module):
        Qd.SetPort(splash)
        fontID = Fm.GetFNum("Python-Sans")
        if not fontID:
+               from Fonts import geneva
                fontID = geneva
        Qd.TextFont(fontID)
        Qd.TextSize(9)
@@ -64,7 +65,7 @@ def my__import__(name, globals=None, locals=None, fromlist=None):
                        return rv
                return _real__import__(name)
 
-install_importhook()
+#install_importhook()
 
 kHighLevelEvent = 23
 import Win