]> granicus.if.org Git - python/commit
This is no longer the real main program; it now defines Py_Main(), so
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:20:32 +0000 (19:20 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:20:32 +0000 (19:20 +0000)
commited52aacb33623ac2e3d768ee3fcc205c6bd9046f
tree2634b3d8a05bad7821a26a5d2a41aa1e92792f40
parentad6dfda9afa3459eb802618c07969f6a1a0a1287
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.
Modules/main.c