summaryrefslogtreecommitdiff
path: root/Python/frozenmain.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:17:22 +0000
committerGuido van Rossum <guido@python.org>1997-07-19 19:17:22 +0000
commit34c2cb93ce28cac7bfa2a16a9a64ef125adf4e78 (patch)
treebee6405b44ce86b9088f1082792ea6eed0210818 /Python/frozenmain.c
parent7d32f2e98f35e3de93a022fa7aecdf768e0d2959 (diff)
downloadcpython-34c2cb93ce28cac7bfa2a16a9a64ef125adf4e78.tar.gz
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().
Diffstat (limited to 'Python/frozenmain.c')
0 files changed, 0 insertions, 0 deletions