- 19 Jul, 1997 34 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
the need for the StringIO subclass.
-
Guido van Rossum authored
-
Guido van Rossum authored
to '"'.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
PyEval_{Acquire,Release}Thread() calls.
-
Guido van Rossum authored
-
Guido van Rossum authored
WITH_THREAD as PyEval_InitThreads(). Removed use of Py_SuppressPrintingFlag.
-
Guido van Rossum authored
-
Guido van Rossum authored
properly declared in Python.h.
-
Guido van Rossum authored
Py_Get*() functions.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
this level. The old libraries Modules/libModules.a etc. don't exist any more. The libainstall target is updated to match.
-
Guido van Rossum authored
-
Guido van Rossum authored
Remove some unneeded AC_SUBST() calls.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
which is in the library and does all the work.
-
Guido van Rossum authored
- Got rid of inspection of some environment variables. - Got rid of Py_GetProgramName() and related logic. - Print the version header *after* successful initialization.
-
Guido van Rossum authored
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.
-
Guido van Rossum authored
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().
-
Guido van Rossum authored
-
- 18 Jul, 1997 6 commits
-
-
Guido van Rossum authored
-
Guido van Rossum authored
PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread, and at the same time acquire/release the interpreter lock. Much saner.
-
Guido van Rossum authored
PyThreadState pointer instead of a (frame) PyObject pointer. This makes much more sense. It is backward incompatible, but that's no problem, because (a) the heaviest users are the Py_{BEGIN,END}_ ALLOW_THREADS macros here, which have been fixed too; (b) there are very few direct users; (c) those who use it are there will probably appreciate the change. Also, added new functions PyEval_AcquireThread() and PyEval_ReleaseThread() which allows the threads created by the thread module as well threads created by others (!) to set/reset the current thread, and at the same time acquire/release the interpreter lock. Much saner.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-