]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Moved some stuff here from main.c (part of a big restructuring - wait
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:17:22 +0000 (19:17 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:17:22 +0000 (19:17 +0000)
commitad6dfda9afa3459eb802618c07969f6a1a0a1287
treec8b659b91d34edda60041ffd917c1191f5636d11
parent0c88e1fd9671f9707a011676a9b075ef90df7059
Moved some stuff here from main.c (part of a big restructuring - wait
for more!).

- The global flags that can be set from environment variables are now
set in Py_Initialize (except the silly Py_SuppressPrint, which no
longer exists).  This saves duplicate code in frozenmain.c and main.c.

- Py_GetProgramName() is now here; added Py_SetProgramName().  An
embedding program should no longer provide Py_GetProgramName(),
instead it should call Py_SetProgramName() *before* calling
Py_Initialize().
Python/pythonrun.c