Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | fix *serious* (new) bug in testbool: by default objects should test | Guido van Rossum | 1992-08-19 | 1 | -1/+1 |
| | | | | true, not false!!! | ||||
* | * classobject.[ch], {float,long,int}object.c, bltinmodule.c: | Guido van Rossum | 1992-08-14 | 1 | -7/+18 |
| | | | | | | coercion is now completely generic. * ceval.c: for instances, don't coerce for + and *; * reverses arguments if left one is non-instance numeric and right one sequence. | ||||
* | Changes so that user-defined classes can implement operations invoked | Guido van Rossum | 1992-08-12 | 1 | -31/+75 |
| | | | | | by special syntax: you can now define your own numbers, sequences and mappings. | ||||
* | * Makefile: cosmetics | Guido van Rossum | 1992-08-05 | 1 | -27/+8 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | ||||
* | * Makefile adapted to changes below. | Guido van Rossum | 1992-08-04 | 1 | -3/+93 |
| | | | | | | | | | | | * split pythonmain.c in two: most stuff goes to pythonrun.c, in the library. * new optional built-in threadmodule.c, build upon Sjoerd's thread.{c,h}. * new module from Sjoerd: mmmodule.c (dynamically loaded). * new module from Sjoerd: sv (svgen.py, svmodule.c.proto). * new files thread.{c,h} (from Sjoerd). * new xxmodule.c (example only). * myselect.h: bzero -> memset * select.c: bzero -> memset; removed global variable | ||||
* | Test for NULL coming out of err_get() in call_exc_trace() | Guido van Rossum | 1992-04-09 | 1 | -0/+4 |
| | |||||
* | reverse sense of test for CHECKEXC | Guido van Rossum | 1992-04-08 | 1 | -1/+1 |
| | |||||
* | Arg of cmp_outcome becomes an int for portability to the Mac | Guido van Rossum | 1992-04-06 | 1 | -3/+3 |
| | |||||
* | (Hopefully) fix bug in reference count in call_exc_trace() | Guido van Rossum | 1992-04-05 | 1 | -12/+7 |
| | | | | plus minor rearrangements found during debugging | ||||
* | lint (added prototypes for all static fns) | Guido van Rossum | 1992-03-27 | 1 | -29/+34 |
| | |||||
* | New trace implementation; and profile (in a similat vein). | Guido van Rossum | 1992-03-23 | 1 | -84/+109 |
| | |||||
* | Tighten error handling of string printing. | Guido van Rossum | 1992-03-04 | 1 | -1/+5 |
| | |||||
* | Use correct prototype for invert(). | Guido van Rossum | 1992-02-11 | 1 | -1/+1 |
| | |||||
* | Limit length of name passed to sprintf. | Guido van Rossum | 1992-02-05 | 1 | -1/+1 |
| | |||||
* | If sys.trace is None, don't trace. For exceptions, only use | Guido van Rossum | 1992-01-19 | 1 | -6/+7 |
| | | | | the local trace function. | ||||
* | Added UNPACK_VARARG code. | Guido van Rossum | 1992-01-14 | 1 | -0/+36 |
| | |||||
* | User trace feature. | Guido van Rossum | 1992-01-12 | 1 | -27/+162 |
| | |||||
* | Fix bug in assign_slice for negative index; used length of wrong object! | Guido van Rossum | 1992-01-10 | 1 | -1/+1 |
| | |||||
* | Negative subscript are now allowed as in slices. | Guido van Rossum | 1991-12-24 | 1 | -7/+14 |
| | | | | Added ImportError. | ||||
* | New argument passing mechanism. | Guido van Rossum | 1991-12-16 | 1 | -35/+109 |
| | |||||
* | Added STORE_GLOBAL and DELETE_GLOBAL. | Guido van Rossum | 1991-12-10 | 1 | -4/+24 |
| | | | | Exceptions may now also be tuples. | ||||
* | Added shift and mask ops. | Guido van Rossum | 1991-10-24 | 1 | -0/+170 |
| | |||||
* | newclassobject() gets a third argument | Guido van Rossum | 1991-10-20 | 1 | -1/+1 |
| | |||||
* | Changed many calls to dict stufff to dict2 variants. | Guido van Rossum | 1991-08-16 | 1 | -31/+35 |
| | | | | *** Somehow the call to printobject was changed back to fwrite?!?! *** | ||||
* | Add interface to call a Python function (or other callable) object | Guido van Rossum | 1991-07-27 | 1 | -0/+13 |
| | | | | from C. | ||||
* | Call printobject instead of fwrite to print strings. | Guido van Rossum | 1991-07-22 | 1 | -2/+2 |
| | |||||
* | Call coerce() in arithmetic operations, to support mixed mode arithmetic | Guido van Rossum | 1991-07-01 | 1 | -12/+46 |
| | |||||
* | printobject now returns an error code | Guido van Rossum | 1991-06-07 | 1 | -3/+4 |
| | |||||
* | Remove test for unimplemented sq_repeat method (see tupleobject comments) | Guido van Rossum | 1991-06-04 | 1 | -4/+0 |
| | |||||
* | Declare ticker as int; made testbool generic for all numeric types | Guido van Rossum | 1991-05-14 | 1 | -7/+5 |
| | |||||
* | Renamed class methods to instance methods (which they are) | Guido van Rossum | 1991-05-05 | 1 | -5/+5 |
| | |||||
* | Moved support functions after main function; added prototypes; | Guido van Rossum | 1991-04-04 | 1 | -572/+617 |
| | | | | | Fixed 'needspace' hack to use a flag in the stdout file object; added local and global variable lookup cases. | ||||
* | Define and use GETNAMEV macro. | Guido van Rossum | 1991-04-03 | 1 | -2/+3 |
| | |||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 |
| | |||||
* | File name shortening. | Guido van Rossum | 1991-01-21 | 1 | -1/+1 |
| | |||||
* | Change div() into divide(); div() is a Standard C function. | Guido van Rossum | 1990-12-20 | 1 | -2/+2 |
| | |||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -809/+659 |
| | |||||
* | Free parse tree after compiling. | Guido van Rossum | 1990-11-18 | 1 | -169/+171 |
| | | | | | | Added support for class definitions. Reorganized main interpreter loop to fetch op and arg once at the head. Use two bytes for arguments (see ceval.c). | ||||
* | Initial revision | Guido van Rossum | 1990-11-18 | 1 | -0/+1560 |