summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/cm
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/cm
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/cm')
-rw-r--r--Mac/Modules/cm/cmsupport.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/cm/cmsupport.py b/Mac/Modules/cm/cmsupport.py
index 6511a3c..0cf7fa1 100644
--- a/Mac/Modules/cm/cmsupport.py
+++ b/Mac/Modules/cm/cmsupport.py
@@ -109,8 +109,8 @@ module.addobject(ci_object)
module.addobject(c_object)
# Create the generator classes used to populate the lists
-Function = OSErrFunctionGenerator
-Method = OSErrMethodGenerator
+Function = OSErrWeakLinkFunctionGenerator
+Method = OSErrWeakLinkMethodGenerator
# Create and populate the lists
functions = []