- 02 Agu, 1997 10 kayıt (commit)
-
-
Guido van Rossum yazdı
Reset the SIGINT handler when the finalization is invoked.
-
Guido van Rossum yazdı
Instead of calling Py_Exit(sts), call Py_Cleanup() and return sts.
-
Guido van Rossum yazdı
-- the thread state is passed in as an argument and the builtins are a member thereof.
-
Guido van Rossum yazdı
strings. For use in Py_Finalize() only.
-
Guido van Rossum yazdı
Introduce truly separate (sub)interpreter objects. For now, these must be used by separate threads, created from C. See Demo/pysvr for an example of how to use this. This also rationalizes Python's initialization and finalization behavior: Py_Initialize() -- initialize the whole interpreter Py_Finalize() -- finalize the whole interpreter tstate = Py_NewInterpreter() -- create a new (sub)interpreter Py_EndInterpreter(tstate) -- delete a new (sub)interpreter There are also new interfaces relating to threads and the interpreter lock, which can be used to create new threads, and sometimes have to be used to manipulate the interpreter lock when creating or deleting sub-interpreters. These are only defined when WITH_THREAD is defined: PyEval_AcquireLock() -- acquire the interpreter lock PyEval_ReleaseLock() -- release the interpreter lock PyEval_AcquireThread(tstate) -- acquire the lock and make the thread current PyEval_ReleaseThread(tstate) -- release the lock and make NULL current Other administrative changes: - The header file bltinmodule.h is deleted. - The init functions for Import, Sys and Builtin are now internal and declared in pythonrun.h. - Py_Setup() and Py_Cleanup() are no longer declared. - The interpreter state and thread state structures are now linked together in a chain (the chain of interpreters is a static variable in pythonrun.c). - Some members of the interpreter and thread structures have new, shorter, more consistent, names. - Added declarations for _PyImport_{Find,Fixup}Extension() to import.h.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
PURIFY (e.g. in the Setup file or on the make command line) to point to the purify command, to run purify.
-
Guido van Rossum yazdı
Even less shuffling of stdout (only at start of new interpreter). Interact properly with new interpreter initialization conventions (must use Py_Initialize/Py_Finalize *and* Py_NewInterpreter/Py_EndInterpreter). Probably more minor changes.
-
Guido van Rossum yazdı
while one thread is blocked in mainloop(). Also, handle signals (not just interrupts) as soon as they happen. Cleanup: remove support for Tcl/Tk versions 7.4/4.0. (I've confirmed that it works for 7.5/4.1 and 7.6/4.2, as well as 8.0b2.) Coding style change: instead of ``func (args)'', write ``func(args)'' everywhere. Minor functionality change: use PyArg_ParseTuple everywhere. This should only affect the errors reported for bad argument lists; in particular, deletefilehandler() is much clearer about what's going on. (XXX Still to do: Mac and Win ports to 8.0b2.)
-
- 01 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 31 Tem, 1997 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
class has a __class__ attribute, call that to create the new class. This allows us to write metaclasses purely in C!
-
- 30 Tem, 1997 3 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
- 28 Tem, 1997 1 kayıt (commit)
-
-
Jack Jansen yazdı
-
- 27 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
interactive EOF, which leaked *one* byte).
-
- 26 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
to free lnotab).
-
- 25 Tem, 1997 8 kayıt (commit)
-
-
Guido van Rossum yazdı
A dummy getbuildno.o (with a number of 0) still gets built here, to make the library complete.
-
Guido van Rossum yazdı
python executable is built. (It still won't reflect builds of the library only, but since the default make target builds the python executable, that's alright.)
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
order of the variables in the declarations). Also removed an entry in the TODO list that's done.
-
Guido van Rossum yazdı
the comma after the day name is optional if it is a recognized day name; and the date and month may be swapped. Thus, the following two test dates will now be parsed correctly: Thu, Feb 13 12:16:57 1992 Thu Feb 13 12:16:57 1992
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Fred Drake yazdı
have to do that one!), but at least the version will match the release version. (1.5a2 got skipped for this.)
-
- 24 Tem, 1997 1 kayıt (commit)
-
-
Fred Drake yazdı
Re-sequenced the function descriptions so that the formatting is described before the assumption is made that the reader has a clue about the formatting. Moved examples to be closer to the functions being demonstrated. Added example of saferepr() result.
-
- 23 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 21 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
importdl.c: the MAXSUFFIXSIZE macro is now defined in importdl.h, and the modules dictionary is now passed using PyImport_GetModuleDict(). Also undefine USE_SHLIB for AIX -- in AIX 4.2 and up, dlfcn.h exists but we don't want to use it.
-
- 19 Tem, 1997 10 kayıt (commit)
-
-
Guido van Rossum yazdı
ready for a release yet).
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Modules/python.o.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
add Setup.local to list of installed files.
-
Guido van Rossum yazdı
with entry point Py_FrozenMain().
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-