mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
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:
parent
d69711cb1e
commit
9d79990ac7
15 changed files with 3255 additions and 3 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue