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.

Also blacklisted some constants with definitions that were not Python-compatible.
This commit is contained in:
Jack Jansen 2002-03-24 23:04:18 +00:00
parent d69711cb1e
commit 9d79990ac7
15 changed files with 3255 additions and 3 deletions

View file

@ -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):