[Python-checkins] CVS: python/dist/src/Mac/Modules/qdoffs qdoffssupport.py,1.7,1.8

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


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

Modified Files:
	qdoffssupport.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: qdoffssupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/qdoffs/qdoffssupport.py,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -d -r1.7 -r1.8
*** qdoffssupport.py	5 Sep 2001 10:31:22 -0000	1.7
--- qdoffssupport.py	25 Mar 2002 00:31:38 -0000	1.8
***************
*** 84,89 ****
  
  # Create the generator classes used to populate the lists
! Function = OSErrFunctionGenerator
! Method = OSErrMethodGenerator
  
  # Create and populate the lists
--- 84,89 ----
  
  # Create the generator classes used to populate the lists
! Function = OSErrWeakLinkFunctionGenerator
! Method = OSErrWeakLinkMethodGenerator
  
  # Create and populate the lists