diff options
| author | Guido van Rossum <guido@python.org> | 1997-07-19 19:17:22 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1997-07-19 19:17:22 +0000 |
| commit | ad6dfda9afa3459eb802618c07969f6a1a0a1287 (patch) | |
| tree | c8b659b91d34edda60041ffd917c1191f5636d11 /Modules/python.c | |
| parent | 0c88e1fd9671f9707a011676a9b075ef90df7059 (diff) | |
| download | cpython-git-ad6dfda9afa3459eb802618c07969f6a1a0a1287.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 'Modules/python.c')
0 files changed, 0 insertions, 0 deletions
