Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * bltinmodule.c: added built-in function cmp(a, b) | Guido van Rossum | 1992-10-18 | 1 | -0/+4 |
| | | | | | | | | | | | | | | | * flmodule.c: added {do,check}_only_forms to fl's list of functions; and don't print a message when an unknown object is returned. * pythonrun.c: catch SIGHUP and SIGTERM to do essential cleanup. * Made jpegmodule.c smaller by using getargs() and mkvalue() consistently. * Increased parser stack size to 500 in parser.h. * Implemented custom allocation of stack frames to frameobject.c and added dynamic stack overflow checks (value stack only) to ceval.c. (There seems to be a bug left: sometimes stack traces don't make sense.) | ||||
* | Modified most (but not yet all) I/O to always go through sys.stdout or | Guido van Rossum | 1992-09-25 | 2 | -2/+2 |
| | | | | | | 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. | ||||
* | Made builtins int(), long(), float(), oct() and hex() more generic. | Guido van Rossum | 1992-09-12 | 1 | -0/+5 |
| | |||||
* | Added C++ support in thread.h; don't use signals if not strictly | Sjoerd Mullender | 1992-09-11 | 2 | -10/+24 |
| | | | | | necessary, and when they are, use SIGKILL; when compiled with -DDEBUG, only print debug messages when "THREADDEBUG" is set in the environment. | ||||
* | Correct spelling in function name | Guido van Rossum | 1992-09-03 | 1 | -1/+1 |
| | |||||
* | AOnly define NDEDBUG if DEBUG is not defined | Guido van Rossum | 1992-09-03 | 1 | -0/+3 |
| | |||||
* | * renamed malloc.h mymalloc.h, and added MALLARG as the type of the | Guido van Rossum | 1992-08-19 | 3 | -2/+76 |
| | | | | | | | | argument to malloc() (size_t or unsigned int) * listobject.c: check for overflow of the size of the object, so things like range(0x7fffffff) will raise MemoryError instead of calling malloc() with -4 (and then crashing -- malloc's fault) | ||||
* | New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway() | Guido van Rossum | 1992-08-17 | 2 | -0/+18 |
| | | | | to avoid hanging in cleanup(). | ||||
* | * classobject.[ch], {float,long,int}object.c, bltinmodule.c: | Guido van Rossum | 1992-08-14 | 2 | -1/+1 |
| | | | | | | 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 | 2 | -3/+6 |
| | | | | | by special syntax: you can now define your own numbers, sequences and mappings. | ||||
* | * Makefile: cosmetics | Guido van Rossum | 1992-08-05 | 2 | -4/+95 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 2 | -0/+54 |
| | | | | | | | | | | | * 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 | ||||
* | * myselect.h: bzero -> memset | Guido van Rossum | 1992-08-04 | 1 | -1/+1 |
| | | | | * select.c: bzero -> memset; removed global variable | ||||
* | Changes for new UNIX-specific built-in module 'select' and new header for | Guido van Rossum | 1992-06-23 | 1 | -0/+80 |
| | | | | | interfaces to variants of select() system call, "myselect.h". This includes adding fileno() methods to files, sockets and stdwin. | ||||
* | added BYTE, CHAR and unsigned variants | Guido van Rossum | 1992-06-03 | 1 | -0/+8 |
| | |||||
* | Added declaration for mkvalue() | Guido van Rossum | 1992-04-13 | 1 | -0/+1 |
| | |||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 42 | -42/+42 |
| | |||||
* | lint (added flushline() interface) | Guido van Rossum | 1992-03-27 | 1 | -0/+1 |
| | |||||
* | Make it lint-free | Guido van Rossum | 1992-03-27 | 1 | -0/+1 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1992-03-24 | 1 | -62/+44 |
| | |||||
* | Moved definition of search path DELIM here (from sysmodule.c). | Guido van Rossum | 1992-03-23 | 1 | -0/+9 |
| | |||||
* | Added definitions of sys_trace and sys_profile | Guido van Rossum | 1992-03-23 | 1 | -0/+2 |
| | |||||
* | Initial revision | Guido van Rossum | 1992-02-26 | 1 | -0/+43 |
| | |||||
* | New getargs() function. Define macros with conventional names, | Guido van Rossum | 1992-01-27 | 1 | -0/+28 |
| | | | | except get*str*arg --> get*Str*arg; get*str*arg fetches a C string. | ||||
* | Initial revision | Guido van Rossum | 1992-01-19 | 1 | -0/+26 |
| | |||||
* | Added typedef for longobject and declarations for long_{format,scan}. | Guido van Rossum | 1992-01-19 | 1 | -0/+5 |
| | |||||
* | Move the longobject typedef to longobject.h. | Guido van Rossum | 1992-01-19 | 1 | -9/+4 |
| | | | | Remove some functions that need not be exported. | ||||
* | New function gettupleslice(v, i, j). | Guido van Rossum | 1992-01-14 | 1 | -0/+1 |
| | |||||
* | Change tb_here() prototype. | Guido van Rossum | 1992-01-14 | 1 | -1/+1 |
| | |||||
* | Added UNPACK_VARARG. | Guido van Rossum | 1992-01-14 | 1 | -0/+1 |
| | |||||
* | Added f_lasti and f_lineno members. | Guido van Rossum | 1992-01-14 | 1 | -0/+2 |
| | |||||
* | Added SystemExit. | Guido van Rossum | 1991-12-31 | 2 | -0/+2 |
| | |||||
* | Added ImportError. | Guido van Rossum | 1991-12-24 | 2 | -0/+2 |
| | |||||
* | Regularize exceptions. | Guido van Rossum | 1991-12-16 | 2 | -22/+18 |
| | |||||
* | Added UNPACK_ARG. | Guido van Rossum | 1991-12-16 | 1 | -1/+3 |
| | |||||
* | Add "varargs" attribute. | Guido van Rossum | 1991-12-16 | 1 | -3/+5 |
| | |||||
* | SyntaxError. | Guido van Rossum | 1991-12-16 | 2 | -0/+2 |
| | |||||
* | Added _GLOBAL opcodes. | Guido van Rossum | 1991-12-10 | 1 | -0/+2 |
| | |||||
* | New exceptions. | Guido van Rossum | 1991-12-10 | 2 | -12/+16 |
| | |||||
* | Added shift and mask ops. | Guido van Rossum | 1991-10-24 | 2 | -3/+15 |
| | |||||
* | Added shifting and masking ops to as_number struct | Guido van Rossum | 1991-10-24 | 1 | -0/+6 |
| | |||||
* | Added some new tokens | Guido van Rossum | 1991-10-20 | 1 | -3/+9 |
| | |||||
* | newclassobject gets a third parameter (optional class name) | Guido van Rossum | 1991-10-20 | 1 | -1/+1 |
| | |||||
* | Added/moved dict2 interfaces. | Guido van Rossum | 1991-08-16 | 1 | -1/+3 |
| | |||||
* | Change getbuiltin interface to get the name as an object. | Guido van Rossum | 1991-08-16 | 1 | -1/+1 |
| | |||||
* | New syntax | Guido van Rossum | 1991-07-27 | 1 | -32/+35 |
| | |||||
* | Added call_object interface | Guido van Rossum | 1991-07-27 | 1 | -0/+2 |
| | |||||
* | Generalize to macintosh. | Guido van Rossum | 1991-06-24 | 1 | -2/+6 |
| | |||||
* | Define 'macintosh' if THINK_C is defined. | Guido van Rossum | 1991-06-24 | 1 | -0/+4 |
| | |||||
* | Remove StopPrint hack | Guido van Rossum | 1991-06-07 | 1 | -2/+0 |
| |