comparison Python/pythonrun.c @ 67193:b7be652daf6e

Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833.
author Georg Brandl <georg@python.org>
date Tue, 28 Dec 2010 18:30:18 +0000
parents 713c6b6ca5ce
children 3bf4d9f1660a
comparison
equal deleted inserted replaced
67192:69460c805737 67193:b7be652daf6e
76 extern void _PyGILState_Fini(void); 76 extern void _PyGILState_Fini(void);
77 #endif /* WITH_THREAD */ 77 #endif /* WITH_THREAD */
78 78
79 int Py_DebugFlag; /* Needed by parser.c */ 79 int Py_DebugFlag; /* Needed by parser.c */
80 int Py_VerboseFlag; /* Needed by import.c */ 80 int Py_VerboseFlag; /* Needed by import.c */
81 int Py_QuietFlag; /* Needed by sysmodule.c */
81 int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */ 82 int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */
82 int Py_InspectFlag; /* Needed to determine whether to exit at SystemError */ 83 int Py_InspectFlag; /* Needed to determine whether to exit at SystemError */
83 int Py_NoSiteFlag; /* Suppress 'import site' */ 84 int Py_NoSiteFlag; /* Suppress 'import site' */
84 int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */ 85 int Py_BytesWarningFlag; /* Warn on str(bytes) and str(buffer) */
85 int Py_DontWriteBytecodeFlag; /* Suppress writing bytecode files (*.py[co]) */ 86 int Py_DontWriteBytecodeFlag; /* Suppress writing bytecode files (*.py[co]) */