]> granicus.if.org Git - python/commit
Ehm, three unrelated changes.
authorGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:27:24 +0000 (22:27 +0000)
committerGuido van Rossum <guido@python.org>
Fri, 6 Feb 1998 22:27:24 +0000 (22:27 +0000)
commita61691e4e9e43da90fa2a5fa1c6764fe49e4dcdb
treee7e8c840a6a41755511628355a1ddfc52c6fbdab
parent31c4ed75fc840122f06cb9976725941a4b1151cc
Ehm, three unrelated changes.

- Add Py_FrozenFlag, intended to suppress error messages fron
getpath.c in frozen binaries.

- 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).
Python/pythonrun.c