Mercurial > cpython-lru_cache-weakref
diff Python/pythonmain.c @ 2876:85140b354890 legacy-trunk
Allow mac user to set "command line flags" by option-starting python.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Sat, 29 Jul 1995 13:53:59 +0000 |
| parents | b8937e74fdf5 |
| children |
line wrap: on
line diff
--- a/Python/pythonmain.c Sat Jul 29 13:52:37 1995 +0000 +++ b/Python/pythonmain.c Sat Jul 29 13:53:59 1995 +0000 @@ -65,6 +65,10 @@ 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
