Bit the bullet and added a private GUSISIOUX for Python. This makes the delayconsole and keepopen code neater. Also tells Sioux to behave better with events, and handles cmd-. during print better. The pythonpreferences have also changed due to this.
diff --git a/Mac/Include/macglue.h b/Mac/Include/macglue.h
index 372871e..fa61709 100644
--- a/Mac/Include/macglue.h
+++ b/Mac/Include/macglue.h
@@ -130,6 +130,8 @@
void PyMac_Exit(int);
void PyMac_InitApplication(void);
void PyMac_OutputSeen(void);
+void PyMac_OutputNotSeen(void);
+int PyMac_GetDelayConsoleFlag(void);
#ifdef USE_MAC_APPLET_SUPPORT
void PyMac_InitApplet(void);
#endif
diff --git a/Mac/Include/pythonresources.h b/Mac/Include/pythonresources.h
index 9bb8998..29026a8 100644
--- a/Mac/Include/pythonresources.h
+++ b/Mac/Include/pythonresources.h
@@ -137,7 +137,7 @@
#define PYTHONOPTIONS_ID 228
#define PYTHONOPTIONSOVERRIDE_ID 229
-#define POPT_VERSION_CURRENT 6 /* Current version number */
+#define POPT_VERSION_CURRENT 7 /* Current version number */
#define POPT_KEEPCONSOLE_NEVER 0
#define POPT_KEEPCONSOLE_OUTPUT 1
#define POPT_KEEPCONSOLE_ERROR 2
@@ -158,6 +158,7 @@
unsigned char tabwarn;
unsigned char nosite;
unsigned char nonavservice;
+ unsigned char delayconsole;
} PyMac_PrefRecord;
#endif