diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1995-07-29 13:53:59 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1995-07-29 13:53:59 (GMT) |
commit | b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb (patch) | |
tree | d55a1d88c52dec96b1a822348ab8b59734c914c9 | |
parent | 292b0f96f3f87d47766b0fa3ac5123ff24ef829d (diff) | |
download | cpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.zip cpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.tar.gz cpython-b7d0df4a91fd89cb63c12b843eb8dd3dc11ea9cb.tar.bz2 |
Allow mac user to set "command line flags" by option-starting python.
-rw-r--r-- | Python/pythonmain.c | 4 |
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 |