mirror of
https://github.com/python/cpython.git
synced 2025-12-10 02:50:09 +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.
This commit is contained in:
parent
cddc1a0249
commit
714d7268d5
10 changed files with 18 additions and 18 deletions
|
|
@ -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 = []
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue