Mercurial > cpython-lru_cache-weakref
diff Mac/Include/pythonresources.h @ 14773:c5ec0b11f8c9 legacy-trunk
Keepconsole is now a 4-way option: never/errorexit/unseen output/always. Default is "unseen output". Upped the Popt version number.
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Fri, 22 Sep 2000 21:50:11 +0000 |
| parents | ddd6138c9e6f |
| children | 4eeb02817b5d |
line wrap: on
line diff
--- a/Mac/Include/pythonresources.h Fri Sep 22 19:41:56 2000 +0000 +++ b/Mac/Include/pythonresources.h Fri Sep 22 21:50:11 2000 +0000 @@ -68,9 +68,11 @@ #define OPT_OPTIMIZE 5 #define OPT_UNBUFFERED 6 #define OPT_DEBUGGING 7 -#define OPT_KEEPNORMAL 8 -#define OPT_KEEPERROR 9 -#define OPT_CMDLINE 10 +#define OPT_KEEPALWAYS 8 +#define OPT_KEEPOUTPUT 9 +#define OPT_KEEPERROR 10 +#define OPT_KEEPNEVER 11 +#define OPT_CMDLINE 12 #define OPT_TABWARN 13 #define OPT_NOSITE 14 #define OPT_HELP 15 @@ -134,17 +136,12 @@ /* The Python options resource and offset of its members */ #define PYTHONOPTIONS_ID 228 #define PYTHONOPTIONSOVERRIDE_ID 229 -#if 0 -#define POPT_INSPECT 0 -#define POPT_VERBOSE 1 -#define POPT_OPTIMIZE 2 -#define POPT_UNBUFFERED 3 -#define POPT_DEBUGGING 4 -#define POPT_KEEPNORM 5 -#define POPT_KEEPERR 6 -#endif -#define POPT_VERSION_CURRENT 5 /* Current version number */ +#define POPT_VERSION_CURRENT 6 /* Current version number */ +#define POPT_KEEPCONSOLE_NEVER 0 +#define POPT_KEEPCONSOLE_OUTPUT 1 +#define POPT_KEEPCONSOLE_ERROR 2 +#define POPT_KEEPCONSOLE_ALWAYS 3 #ifndef rez typedef struct PyMac_PrefRecord { @@ -154,8 +151,8 @@ unsigned char optimize; unsigned char unbuffered; unsigned char debugging; - unsigned char keep_normal; - unsigned char keep_error; + unsigned char unused; + unsigned char keep_console; unsigned char nointopt; unsigned char noargs; unsigned char tabwarn;
