[Python-checkins] CVS: python/dist/src/Mac/Modules/drag dragsupport.py,1.9,1.10
Jack Jansen
jackjansen@users.sourceforge.net
Sun, 24 Mar 2002 16:32:06 -0800
Update of /cvsroot/python/python/dist/src/Mac/Modules/drag
In directory usw-pr-cvs1:/tmp/cvs-serv22484/Python/Mac/Modules/drag
Modified Files:
dragsupport.py
Log Message:
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.
Index: dragsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/drag/dragsupport.py,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** dragsupport.py 4 Jan 2002 14:39:29 -0000 1.9
--- dragsupport.py 25 Mar 2002 00:32:04 -0000 1.10
***************
*** 215,220 ****
# Create the generator classes used to populate the lists
! Function = OSErrFunctionGenerator
! Method = OSErrMethodGenerator
# Create and populate the lists
--- 215,220 ----
# Create the generator classes used to populate the lists
! Function = OSErrWeakLinkFunctionGenerator
! Method = OSErrWeakLinkMethodGenerator
# Create and populate the lists