Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macmain.c @ 14464:17cec96f75bc legacy-trunk
Use same short banner message as unix/win Python.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 08 Sep 2000 10:20:37 +0000 |
| parents | 34e7de4ada70 |
| children | c5ec0b11f8c9 |
line wrap: on
line diff
--- a/Mac/Python/macmain.c Fri Sep 08 10:19:49 2000 +0000 +++ b/Mac/Python/macmain.c Fri Sep 08 10:20:37 2000 +0000 @@ -56,6 +56,10 @@ #define STARTUP "PythonStartup" +#define COPYRIGHT \ + "Type \"copyright\", \"credits\" or \"license\" for more information." + + extern int Py_DebugFlag; /* For parser.c, declared in pythonrun.c */ extern int Py_VerboseFlag; /* For import.c, declared in pythonrun.c */ short PyMac_AppRefNum; /* RefNum of application resource fork */ @@ -277,7 +281,7 @@ } /* Copy selected options to where the machine-independent stuff wants it */ - Py_VerboseFlag = options.verbose; + Py_VerboseFlag = options.verbose *2; /* Py_SuppressPrintingFlag = options.suppress_print; */ Py_OptimizeFlag = options.optimize; Py_DebugFlag = options.debugging; @@ -474,8 +478,8 @@ if (Py_VerboseFlag || command == NULL && filename == NULL && isatty((int)fileno(fp))) - fprintf(stderr, "Python %s\n%s\n", - Py_GetVersion(), Py_GetCopyright()); + fprintf(stderr, "Python %s on %s\n%s\n", + Py_GetVersion(), Py_GetPlatform(), COPYRIGHT); if (filename != NULL) { if ((fp = fopen(filename, "r")) == NULL) {
