mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
Temporarily disabled the import hook. It breaks with the package-based
Carbon and its workaround.
This commit is contained in:
parent
25a68e1f44
commit
106fceacb2
1 changed files with 2 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue