Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 86563:dc9f17f10899 2.7
Issue #18603: Ensure that PyOS_mystricmp and PyOS_mystrnicmp are in the
Python executable and not removed by the linker's optimizer.
| author | Christian Heimes <christian@cheimes.de> |
|---|---|
| date | Tue, 22 Oct 2013 10:22:29 +0200 |
| parents | 4ebe1ede981e |
| children |
comparison
equal
deleted
inserted
replaced
| 86533:737b79e524aa | 86563:dc9f17f10899 |
|---|---|
| 88 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions | 88 on the command line, and is used in 2.2 by ceval.c to make all "/" divisions |
| 89 true divisions (which they will be in 2.3). */ | 89 true divisions (which they will be in 2.3). */ |
| 90 int _Py_QnewFlag = 0; | 90 int _Py_QnewFlag = 0; |
| 91 int Py_NoUserSiteDirectory = 0; /* for -s and site.py */ | 91 int Py_NoUserSiteDirectory = 0; /* for -s and site.py */ |
| 92 int Py_HashRandomizationFlag = 0; /* for -R and PYTHONHASHSEED */ | 92 int Py_HashRandomizationFlag = 0; /* for -R and PYTHONHASHSEED */ |
| 93 | |
| 94 | |
| 95 /* Hack to force loading of object files */ | |
| 96 int (*_PyOS_mystrnicmp_hack)(const char *, const char *, Py_ssize_t) = \ | |
| 97 PyOS_mystrnicmp; /* Python/pystrcmp.o */ | |
| 93 | 98 |
| 94 /* PyModule_GetWarningsModule is no longer necessary as of 2.6 | 99 /* PyModule_GetWarningsModule is no longer necessary as of 2.6 |
| 95 since _warnings is builtin. This API should not be used. */ | 100 since _warnings is builtin. This API should not be used. */ |
| 96 PyObject * | 101 PyObject * |
| 97 PyModule_GetWarningsModule(void) | 102 PyModule_GetWarningsModule(void) |
