Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 41558:29ae667f3239
Checkpoint. Manipulated things so that string literals are always
unicode, and a few other compensating changes, e.g. str <- unicode,
chr <- unichr, and repr() of a unicode string no longer starts
with 'u'. Lots of unit tests are broken, but some basic things
work, in particular distutils works so the extensions can be built,
and test_builtin.py works.
| author | Guido van Rossum <guido@python.org> |
|---|---|
| date | Fri, 27 Apr 2007 23:53:51 +0000 |
| parents | 06145fbc7ab9 |
| children | 15b810e21fe9 |
comparison
equal
deleted
inserted
replaced
| 41555:270086994f48 | 41558:29ae667f3239 |
|---|---|
| 74 int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */ | 74 int Py_InteractiveFlag; /* Needed by Py_FdIsInteractive() below */ |
| 75 int Py_InspectFlag; /* Needed to determine whether to exit at SystemError */ | 75 int Py_InspectFlag; /* Needed to determine whether to exit at SystemError */ |
| 76 int Py_NoSiteFlag; /* Suppress 'import site' */ | 76 int Py_NoSiteFlag; /* Suppress 'import site' */ |
| 77 int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ | 77 int Py_UseClassExceptionsFlag = 1; /* Needed by bltinmodule.c: deprecated */ |
| 78 int Py_FrozenFlag; /* Needed by getpath.c */ | 78 int Py_FrozenFlag; /* Needed by getpath.c */ |
| 79 int Py_UnicodeFlag = 0; /* Needed by compile.c */ | |
| 80 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ | 79 int Py_IgnoreEnvironmentFlag; /* e.g. PYTHONPATH, PYTHONHOME */ |
| 81 | 80 |
| 82 /* Reference to 'warnings' module, to avoid importing it | 81 /* Reference to 'warnings' module, to avoid importing it |
| 83 on the fly when the import lock may be held. See 683658/771097 | 82 on the fly when the import lock may be held. See 683658/771097 |
| 84 */ | 83 */ |
