[Python-checkins] CVS: python/dist/src/Mac/Modules/evt evtsupport.py,1.14,1.15

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


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

Modified Files:
	evtsupport.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: evtsupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/evt/evtsupport.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -C2 -d -r1.14 -r1.15
*** evtsupport.py	17 Dec 2001 11:46:50 -0000	1.14
--- evtsupport.py	25 Mar 2002 00:31:58 -0000	1.15
***************
*** 65,70 ****
  
  # Create the generator classes used to populate the lists
! Function = OSErrFunctionGenerator
! ##Method = OSErrMethodGenerator
  
  # Create and populate the lists
--- 65,70 ----
  
  # Create the generator classes used to populate the lists
! Function = OSErrWeakLinkFunctionGenerator
! ##Method = OSErrWeakLinkMethodGenerator
  
  # Create and populate the lists