commit | ed52aacb33623ac2e3d768ee3fcc205c6bd9046f | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sat Jul 19 19:20:32 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Sat Jul 19 19:20:32 1997 +0000 |
tree | 2634b3d8a05bad7821a26a5d2a41aa1e92792f40 | |
parent | ad6dfda9afa3459eb802618c07969f6a1a0a1287 [diff] |
This is no longer the real main program; it now defines Py_Main(), so it can be placed in the library. Other, related changes: - Moved the inspection of some environment variables to Py_Initialize(). - Got rid of -s option. - Moved Py_GetProgramName() and related logic to pythonrun.c; call Py_SetProgramName() instead. - Print the version header *after* successful initialization.