Implemented nositepython and oldexceptions flags

This commit is contained in:
Jack Jansen 1997-10-07 21:48:57 +00:00
parent c73f83c8d9
commit a7a89ebdbe
1 changed files with 2 additions and 0 deletions

View File

@ -242,6 +242,8 @@ init_common(int *argcp, char ***argvp, int embedded)
/* Py_SuppressPrintingFlag = options.suppress_print; */ /* Py_SuppressPrintingFlag = options.suppress_print; */
Py_OptimizeFlag = options.optimize; Py_OptimizeFlag = options.optimize;
Py_DebugFlag = options.debugging; Py_DebugFlag = options.debugging;
Py_NoSiteFlag = options.nosite;
Py_UseClassExceptionsFlag = !(options.oldexc);
if ( options.noargs ) { if ( options.noargs ) {
/* don't process events at all without the scripts permission */ /* don't process events at all without the scripts permission */
PyMacSchedParams scp; PyMacSchedParams scp;