]> granicus.if.org Git - python/commit
- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
authorGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:28:05 +0000 (22:28 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:28:05 +0000 (22:28 +0000)
commit66d4b9079117ba1496ca08e8c1be22626b3bc89a
tree5b32dd8e42d9521233a339c4c6dc7db3bc149a4b
parent95c745b5fc0d59bf055fc0a09214f6919134b941
- Add Py_GetPythonHome() and Py_SetPythonHome(), intended to allow
embedders to force a different PYTHONHOME.

- Add new interface PyErr_PrintEx(flag); same as PyErr_Print() but
flag determines whether sys.last_* are set or not.  PyErr_Print()
now simply calls PyErr_PrintEx(1).
Include/pythonrun.h