- 15 Eyl, 2000 1 kayıt (commit)
-
-
Skip Montanaro yazdı
-
- 01 Eyl, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
This should match the situation in the 1.6b1 tree.
-
Tim Peters yazdı
un-analize Get's definition ("void" is needed only in declarations, not defns, & is generally considered bad style in the latter).
-
- 27 Agu, 2000 1 kayıt (commit)
-
-
Tim Peters yazdı
-
- 25 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
Leave the actual #define in for API compatibility.
-
- 22 Tem, 2000 1 kayıt (commit)
-
-
Thomas Wouters yazdı
'HAVE_STDARG_PROTOTYPES' (consider it true, remove false branch)
-
- 08 Tem, 2000 1 kayıt (commit)
-
-
Fred Drake yazdı
-
- 30 Haz, 2000 2 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
- 08 May, 2000 1 kayıt (commit)
-
-
Guido van Rossum yazdı
Add declaration of PyEval_SliceIndex().
-
- 17 Mar, 1999 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Ara, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 08 Agu, 1998 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 30 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 02 Agu, 1997 1 kayıt (commit)
-
-
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.
-
- 19 Tem, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 18 Tem, 1997 1 kayıt (commit)
-
-
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.
-
- 22 May, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Eki, 1996 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 18 Tem, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 12 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
use the new names exclusively, and the linker will see the new names. Files that import "Python.h" also only see the new names. Files that import "allobjects.h" will continue to be able to use the old names, due to the inclusion (in allobjects.h) of "rename2.h".
-
- 09 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 04 Ock, 1995 1 kayıt (commit)
-
-
Guido van Rossum yazdı
object.h: made sizes and refcnts signed ints. stringobject.h: make getstrsize() signed int. methodobject.h: add METH_VARARGS and METH_FREENAME flag bit definitions.
-
- 30 Ara, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 28 Eyl, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
classobject.h: added instancebinop() modsupport.h: added newgetargs() rename1.h: removed Py_FPROTO
-
- 14 Eyl, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
ceval.h: added Py_AddPendingCall rest: modules using the new naming scheme must now include Python.h
-
- 01 Agu, 1994 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 01 Kas, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
pythonrun.c: added static forward declarations * pythonrun.h, ceval.h, longobject.h, node.h: removed declarations of static routines
-
- 28 Tem, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* Makefile: change location of FORMS library. * posixmodule.c: turn #if 0 into #ifdef MSDOS (stuff in unistd.h or not) * Almost all .h files: added CPP magic to avoid duplicate inclusions and to support inclusion from C++.
-
- 25 May, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
function found as instance data. * socketmodule.c: added 'flags' argument sendto/recvfrom, rewrite argument parsing in send/recv. * More changes related to access (terminology change: owner instead of class; allow any object as owner; local/global variables are owned by their dictionary, only class/instance data is owned by the class; "from...import *" now only imports objects with public access; etc.)
-
- 20 May, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
yet). The class is now passed to eval_code and stored in the current frame. It is also stored in instance method objects. An "unbound" instance method is now returned when a function is retrieved through "classname.funcname", which when called passes the class to eval_code.
-
- 30 Mar, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
lookup (opcode.h, ceval.[ch], compile.c, frameobject.[ch], pythonrun.c, import.c). The .pyc MAGIC number is changed again. Added get_menu_text to flmodule.
-
- 29 Mar, 1993 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* Stubs for faster implementation of local variables (not yet finished) * Added function name to code object. Print it for code and function objects. THIS MAKES THE .PYC FILE FORMAT INCOMPATIBLE (the version number has changed accordingly) * Print address of self for built-in methods * New internal functions getattro and setattro (getattr/setattr with string object arg) * Replaced "dictobject" with more powerful "mappingobject" * New per-type functio tp_hash to implement arbitrary object hashing, and hashobject() to interface to it * Added built-in functions hash(v) and hasattr(v, 'name') * classobject: made some functions static that accidentally weren't; added __hash__ special instance method to implement hash() * Added proper comparison for built-in methods and functions
-
- 25 Eyl, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
sys.stderr or sys.stdin, and to work with any object as long as it has a write() (respectively readline()) methods. Some functions that took a FILE* argument now take an object* argument.
-
- 12 Agu, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
by special syntax: you can now define your own numbers, sequences and mappings.
-
- 05 Agu, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
* socketmodule.c: get rid of makepair(); fix makesocketaddr to fix broken recvfrom() * socketmodule: get rid of getStrarg() * ceval.h: move eval_code() to new file eval.h, so compile.h is no longer needed. * ceval.c: move thread comments to ceval.h; always make save/restore thread functions available (for dynloaded modules) * cdmodule.c, listobject.c: don't include compile.h * flmodule.c: include ceval.h * import.c: include eval.h instead of ceval.h * cgen.py: add forground(); noport(); winopen(""); to initgl(). * bltinmodule.c, socketmodule.c, fileobject.c, posixmodule.c, selectmodule.c: adapt to threads (add BGN/END SAVE macros) * stdwinmodule.c: adapt to threads and use a special stdwin lock. * pythonmain.c: don't include getpythonpath(). * pythonrun.c: use BGN/END SAVE instead of direct calls; also more BGN/END SAVE calls etc. * thread.c: bigger stack size for sun; change exit() to _exit() * threadmodule.c: use BGN/END SAVE macros where possible * timemodule.c: adapt better to threads; use BGN/END SAVE; add longsleep internal function if BSD_TIME; cosmetics
-
- 05 Nis, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 27 Mar, 1992 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 27 Tem, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 19 Şub, 1991 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-