[Python-checkins] python/dist/src/Mac/Modules/ae _AEmodule.c, 1.20, 1.21 aesupport.py, 1.32, 1.33

jackjansen at users.sourceforge.net jackjansen at users.sourceforge.net
Wed Nov 19 11:34:05 EST 2003


Update of /cvsroot/python/python/dist/src/Mac/Modules/ae
In directory sc8-pr-cvs1:/tmp/cvs-serv32109/Mac/Modules/ae

Modified Files:
	_AEmodule.c aesupport.py 
Log Message:
Getting rid of code conditional on TARGET_API_MAC_*.


Index: _AEmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/_AEmodule.c,v
retrieving revision 1.20
retrieving revision 1.21
diff -C2 -d -r1.20 -r1.21
*** _AEmodule.c	19 Nov 2003 16:13:22 -0000	1.20
--- _AEmodule.c	19 Nov 2003 16:34:03 -0000	1.21
***************
*** 21,27 ****
  
  
- #ifndef PyDoc_STR
- #define PyDoc_STR(x) (x)
- #endif
  #include <Carbon/Carbon.h>
  
--- 21,24 ----
***************
*** 45,54 ****
  	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;
  }
--- 42,45 ----

Index: aesupport.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/ae/aesupport.py,v
retrieving revision 1.32
retrieving revision 1.33
diff -C2 -d -r1.32 -r1.33
*** aesupport.py	19 Nov 2003 16:18:01 -0000	1.32
--- aesupport.py	19 Nov 2003 16:34:03 -0000	1.33
***************
*** 104,113 ****
  	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;
  }
--- 104,107 ----





More information about the Python-checkins mailing list