[Python-checkins] CVS: python/dist/src/Mac/Modules/ae aesupport.py,1.23,1.24

Jack Jansen jackjansen@users.sourceforge.net
Sat, 01 Sep 2001 16:38:52 -0700


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

Modified Files:
	aesupport.py 
Log Message:
Don't call PyMac_HandleEvent if we're in unix-Python.

Index: aesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/aesupport.py,v
retrieving revision 1.23
retrieving revision 1.24
diff -C2 -d -r1.23 -r1.24
*** aesupport.py	2001/08/23 13:47:45	1.23
--- aesupport.py	2001/09/01 23:38:50	1.24
***************
*** 106,113 ****
--- 106,115 ----
  	if ( PyOS_InterruptOccurred() )
  		return 1;
+ #if !TARGET_API_MAC_OSX
  	if ( PyMac_HandleEvent(theEvent) < 0 ) {
  		PySys_WriteStderr("Exception in user event handler during AE processing\\n");
  		PyErr_Clear();
  	}
+ #endif
  	return 0;
  }