From: Jack Jansen Date: Sat, 29 Jul 1995 13:53:59 +0000 (+0000) Subject: Allow mac user to set "command line flags" by option-starting python. X-Git-Tag: v1.3b1~145 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb;p=thirdparty%2FPython%2Fcpython.git Allow mac user to set "command line flags" by option-starting python. --- diff --git a/Python/pythonmain.c b/Python/pythonmain.c index 64aae7ace419..000a3d789f8c 100644 --- a/Python/pythonmain.c +++ b/Python/pythonmain.c @@ -65,6 +65,10 @@ realmain(argc, argv) if ((p = getenv("PYTHONUNBUFFERED")) && *p != '\0') unbuffered = 1; +#ifdef macintosh + PyMac_InteractiveOptions(&inspect, &verbose, &suppress_print, &unbuffered, &debugging); +#endif + while ((c = getopt(argc, argv, "c:disuv")) != EOF) { if (c == 'c') { /* -c is the last option; following arguments