From c165e53066ce2ebdfe9a99919c10572b6ed5415e Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Mon, 25 Mar 2002 10:23:56 +0000 Subject: [PATCH] Backport of 1.7: 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, inAlso blacklisted some constants with definitions that were not Python-compatible. --- Mac/Modules/cf/cfscan.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Mac/Modules/cf/cfscan.py b/Mac/Modules/cf/cfscan.py index 3e09df4e3f38..be11dba7ea72 100644 --- a/Mac/Modules/cf/cfscan.py +++ b/Mac/Modules/cf/cfscan.py @@ -95,6 +95,7 @@ class MyScanner(Scanner_OSX): "CFStringCreateMutableWithExternalCharactersNoCopy", # Not a clue... "CFStringSetExternalCharactersNoCopy", "CFStringGetCharacterAtIndex", # No format for single unichars yet. + "kCFStringEncodingInvalidId", # incompatible constant declaration ] def makegreylist(self): -- 2.47.3