[Python-checkins] CVS: python/dist/src/Mac/Modules/cm cmsupport.py,1.5,1.6

Jack Jansen jackjansen@users.sourceforge.net
Sun, 24 Mar 2002 16:32:15 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules/cm
In directory usw-pr-cvs1:/tmp/cvs-serv22515/Python/Mac/Modules/cm

Modified Files:
	cmsupport.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: cmsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cm/cmsupport.py,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** cmsupport.py	23 Aug 2001 13:48:02 -0000	1.5
--- cmsupport.py	25 Mar 2002 00:32:13 -0000	1.6
***************
*** 110,115 ****
  
  # Create the generator classes used to populate the lists
! Function = OSErrFunctionGenerator
! Method = OSErrMethodGenerator
  
  # Create and populate the lists
--- 110,115 ----
  
  # Create the generator classes used to populate the lists
! Function = OSErrWeakLinkFunctionGenerator
! Method = OSErrWeakLinkMethodGenerator
  
  # Create and populate the lists