]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Allow mac user to set "command line flags" by option-starting python.
authorJack Jansen <jack.jansen@cwi.nl>
Sat, 29 Jul 1995 13:53:59 +0000 (13:53 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Sat, 29 Jul 1995 13:53:59 +0000 (13:53 +0000)
Python/pythonmain.c

index 64aae7ace41992026d0ebed898c0cc9395f59bcc..000a3d789f8ce458a88f8853a595b11a6c7c206a 100644 (file)
@@ -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