- 19 Tem, 1997 20 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
PyEval_{Acquire,Release}Thread() calls.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
WITH_THREAD as PyEval_InitThreads(). Removed use of Py_SuppressPrintingFlag.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
properly declared in Python.h.
-
Guido van Rossum yazdı
Py_Get*() functions.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
this level. The old libraries Modules/libModules.a etc. don't exist any more. The libainstall target is updated to match.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Remove some unneeded AC_SUBST() calls.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
which is in the library and does all the work.
-
Guido van Rossum yazdı
- 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 yazdı
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 yazdı
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 yazdı
-
- 18 Tem, 1997 19 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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 yazdı
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 yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
-
Guido van Rossum yazdı
Currently, contains one function: compile_command(), which helps determining whether a source string is complete, incomplete or in error. This is useful when writing your own version of the Python read-eval-print loop.
-
Guido van Rossum yazdı
Noted this in the XXX comments. Also, changed all three functions to use the attributes if they exist.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Also corrected a typo in format_stack (t should've been f).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
removed some of his own cruft. Added \g<...> references in replacement text.
-
- 17 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
int+int, int-int, int <compareop> int, and list[int]. (Unfortunately, int*int is way too much code to inline.) Also corrected a NULL that should have been a zero.
-