summaryrefslogtreecommitdiff
path: root/Python/pythonmain.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-07-29 13:53:59 +0000
committerJack Jansen <jack.jansen@cwi.nl>1995-07-29 13:53:59 +0000
commitee8e3b8c94ead200aafedadf084552013638cd51 (patch)
tree1d68bf2d018618c8ffa28adf399c98f30625c176 /Python/pythonmain.c
parent58844f7cac2423136fb95e87dcee6106f6c693ce (diff)
downloadcpython-ee8e3b8c94ead200aafedadf084552013638cd51.tar.gz
Allow mac user to set "command line flags" by option-starting python.
Diffstat (limited to 'Python/pythonmain.c')
-rw-r--r--Python/pythonmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/pythonmain.c b/Python/pythonmain.c
index 64aae7ace4..000a3d789f 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