[Python-checkins] CVS: python/dist/src/Mac/Modules/cf cfscan.py,1.6,1.7

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


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

Modified Files:
	cfscan.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.

Also blacklisted some constants with definitions that were not Python-compatible.

Index: cfscan.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/cf/cfscan.py,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** cfscan.py	1 Jan 2002 22:42:51 -0000	1.6
--- cfscan.py	24 Mar 2002 23:01:44 -0000	1.7
***************
*** 96,99 ****
--- 96,100 ----
  			"CFStringSetExternalCharactersNoCopy",
  			"CFStringGetCharacterAtIndex", # No format for single unichars yet.
+ 			"kCFStringEncodingInvalidId", # incompatible constant declaration
  			]