AETransactionID was mistakenly defined as a short (it is a long). Fixed.
diff --git a/Mac/Modules/ae/AEmodule.c b/Mac/Modules/ae/AEmodule.c
index ebdb3e1..5bb7f9c 100644
--- a/Mac/Modules/ae/AEmodule.c
+++ b/Mac/Modules/ae/AEmodule.c
@@ -1095,7 +1095,7 @@
 	AEReturnID returnID;
 	AETransactionID transactionID;
 	AppleEvent result;
-	if (!PyArg_ParseTuple(_args, "O&O&O&hh",
+	if (!PyArg_ParseTuple(_args, "O&O&O&hl",
 	                      PyMac_GetOSType, &theAEEventClass,
 	                      PyMac_GetOSType, &theAEEventID,
 	                      AEDesc_Convert, &target,