summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/ae
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-03-25 00:32:17 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-03-25 00:32:17 (GMT)
commit714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50 (patch)
tree3c0ae2f82a414db75c1420aeb2f3686609d148c9 /Mac/Modules/ae
parentcddc1a0249fd3ace2711d5132605e773b78827b5 (diff)
downloadcpython-714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50.zip
cpython-714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50.tar.gz
cpython-714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50.tar.bz2
Weaklink most toolbox modules, improving backward compatibility. Modules will no longer fail to load if a single routine is missing on the curent OS version, in stead calling the missing routine will raise an exception.
Should finally fix 531398. 2.2.1 candidate.
Diffstat (limited to 'Mac/Modules/ae')
-rw-r--r--Mac/Modules/ae/aesupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/ae/aesupport.py b/Mac/Modules/ae/aesupport.py
index 2161857..8ecaeda 100644
--- a/Mac/Modules/ae/aesupport.py
+++ b/Mac/Modules/ae/aesupport.py
@@ -77,8 +77,8 @@ AEEventHandlerUPP = EventHandlerProcPtr
AlwaysFalse = FakeType("0")
-AEFunction = OSErrFunctionGenerator
-AEMethod = OSErrMethodGenerator
+AEFunction = OSErrWeakLinkFunctionGenerator
+AEMethod = OSErrWeakLinkMethodGenerator
includestuff = includestuff + """