Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 37056:5aecedc98af6
_Py_QnewFlag and INPLACE_DIVIDE are not necessary any longer
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Fri, 17 Mar 2006 08:57:43 +0000 |
| parents | 49c6eb688906 |
| children | f731859e9b3b |
comparison
equal
deleted
inserted
replaced
| 37054:ea5b66af6245 | 37056:5aecedc98af6 |
|---|---|
| 69 int Py_NoSiteFlag; /* Suppress 'import site' */ | 69 int Py_NoSiteFlag; /* Suppress 'import site' */ |
| 70 int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ | 70 int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ |
| 71 int Py_FrozenFlag; /* Needed by getpath.c */ | 71 int Py_FrozenFlag; /* Needed by getpath.c */ |
| 72 int Py_UnicodeFlag = 0; /* Needed by compile.c */ | 72 int Py_UnicodeFlag = 0; /* Needed by compile.c */ |
| 73 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ | 73 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ |
| 74 /* _XXX Py_QnewFlag should go away in 2.3. It's true iff -Qnew is passed, | |
| 75 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions | |
| 76 true divisions (which they will be in 2.3). */ | |
| 77 int _Py_QnewFlag = 0; | |
| 78 | 74 |
| 79 /* Reference to 'warnings' module, to avoid importing it | 75 /* Reference to 'warnings' module, to avoid importing it |
| 80 on the fly when the import lock may be held. See 683658/771097 | 76 on the fly when the import lock may be held. See 683658/771097 |
| 81 */ | 77 */ |
| 82 static PyObject *warnings_module = NULL; | 78 static PyObject *warnings_module = NULL; |
