diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-03-25 00:32:17 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-03-25 00:32:17 (GMT) |
commit | 714d7268d5dcd9233bb8b3580cd9bce5a5a9fc50 (patch) | |
tree | 3c0ae2f82a414db75c1420aeb2f3686609d148c9 /Mac/Modules/fm | |
parent | cddc1a0249fd3ace2711d5132605e773b78827b5 (diff) | |
download | cpython-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/fm')
-rw-r--r-- | Mac/Modules/fm/fmsupport.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Modules/fm/fmsupport.py b/Mac/Modules/fm/fmsupport.py index 10d3fce..20ae292 100644 --- a/Mac/Modules/fm/fmsupport.py +++ b/Mac/Modules/fm/fmsupport.py @@ -70,7 +70,7 @@ FMetricRecPtr = OpaqueType('FMetricRec', 'FMRec') module = MacModule(MODNAME, MODPREFIX, includestuff, finalstuff, initstuff) # Create the generator classes used to populate the lists -Function = OSErrFunctionGenerator +Function = OSErrWeakLinkFunctionGenerator # Create and populate the lists functions = [] |