Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 46698:1a2dbc84bdfc legacy-trunk
Implemented PEP 370
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Tue, 06 May 2008 22:41:46 +0000 |
| parents | 840064802952 |
| children | 1fdfb29f4fb8 |
comparison
equal
deleted
inserted
replaced
| 46697:4b19b41ef606 | 46698:1a2dbc84bdfc |
|---|---|
| 80 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ | 80 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ |
| 81 /* _XXX Py_QnewFlag should go away in 2.3. It's true iff -Qnew is passed, | 81 /* _XXX Py_QnewFlag should go away in 2.3. It's true iff -Qnew is passed, |
| 82 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions | 82 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions |
| 83 true divisions (which they will be in 2.3). */ | 83 true divisions (which they will be in 2.3). */ |
| 84 int _Py_QnewFlag = 0; | 84 int _Py_QnewFlag = 0; |
| 85 int Py_NoUserSiteDirectory = 0; /* for -s and site.py */ | |
| 85 | 86 |
| 86 /* PyModule_GetWarningsModule is no longer necessary as of 2.6 | 87 /* PyModule_GetWarningsModule is no longer necessary as of 2.6 |
| 87 since _warnings is builtin. This API should not be used. */ | 88 since _warnings is builtin. This API should not be used. */ |
| 88 PyObject * | 89 PyObject * |
| 89 PyModule_GetWarningsModule(void) | 90 PyModule_GetWarningsModule(void) |
