and force prompts, even if stdin does not appear to be a terminal.\n\
-O : optimize generated bytecode (a tad).\n\
-u : unbuffered binary stdout and stderr (also PYTHONUNBUFFERED=x)\n\
--X : use experimental class based exceptions\n\
+-X : disable class based built-in exceptions\n\
-v : verbose (trace import statements) (also PYTHONVERBOSE=x)\n\
";
static char *usage_bot = "\
if ((p = getenv("PYTHONUNBUFFERED")) && *p != '\0')
unbuffered = 1;
+ Py_UseClassExceptionsFlag = 1;
while ((c = getopt(argc, argv, "c:diOuvX")) != EOF) {
if (c == 'c') {
/* -c is the last option; following arguments
break;
case 'X':
- Py_UseClassExceptionsFlag++;
+ Py_UseClassExceptionsFlag = 0;
break;
/* This space reserved for other options */