Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 77154:294f8aeb4d4b
Implemented PEP 405 (Python virtual environments).
| author | Vinay Sajip <vinay_sajip@yahoo.co.uk> |
|---|---|
| date | Sat, 26 May 2012 03:45:29 +0100 |
| parents | ed76dc34b39d |
| children | 9c445f4695c1 |
line wrap: on
line diff
--- a/Python/sysmodule.c Sat May 26 03:25:23 2012 +0100 +++ b/Python/sysmodule.c Sat May 26 03:45:29 2012 +0100 @@ -1528,6 +1528,10 @@ PyUnicode_FromWideChar(Py_GetPrefix(), -1)); SET_SYS_FROM_STRING("exec_prefix", PyUnicode_FromWideChar(Py_GetExecPrefix(), -1)); + SET_SYS_FROM_STRING("base_prefix", + PyUnicode_FromWideChar(Py_GetPrefix(), -1)); + SET_SYS_FROM_STRING("base_exec_prefix", + PyUnicode_FromWideChar(Py_GetExecPrefix(), -1)); SET_SYS_FROM_STRING("maxsize", PyLong_FromSsize_t(PY_SSIZE_T_MAX)); SET_SYS_FROM_STRING("float_info",
