From b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Sat, 29 Jul 1995 13:53:59 +0000 Subject: [PATCH] Allow mac user to set "command line flags" by option-starting python. --- Python/pythonmain.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Python/pythonmain.c b/Python/pythonmain.c index 64aae7ace41..000a3d789f8 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