[Python-checkins] CVS: python/dist/src/Mac/Modules/ae _AEmodule.c,1.1,1.2

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


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

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

Index: _AEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/_AEmodule.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** _AEmodule.c	2001/08/23 14:02:03	1.1
--- _AEmodule.c	2001/09/01 23:38:45	1.2
***************
*** 40,47 ****
--- 40,49 ----
  	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;
  }