summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1995-07-29 13:53:59 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1995-07-29 13:53:59 (GMT)
commitb7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb (patch)
treed55a1d88c52dec96b1a822348ab8b59734c914c9 /Python
parent292b0f96f3f87d47766b0fa3ac5123ff24ef829d (diff)
downloadcpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.zip
cpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.tar.gz
cpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.tar.bz2
Allow mac user to set "command line flags" by option-starting python.
Diffstat (limited to 'Python')
-rw-r--r--Python/pythonmain.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/pythonmain.c b/Python/pythonmain.c
index 64aae7a..000a3d7 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