Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | * classobject.c: in instance_lenth, test result of call_object | Guido van Rossum | 1992-11-26 | 2 | -0/+4 |
| | | | | | | for exception before using it. Fixed a few other places where the outcome of calling sq_length wasn't tested for exceptions (bltinmodule.c, ceval.c). | ||||
* | * config.c: Added audioop to lists. | Guido van Rossum | 1992-11-26 | 1 | -1/+32 |
| | | | | | | | | | * Makefile: change default source directory * socketmodule.c: added getsockname and getpeername * bltinmodule.c: corrected typo in type() error message * Added new built-in functions str() and repr(): repr(x) == `x`; str(x) == x if x is a string, otherwise str(x) == repr(x). * Added joinfields to stropmodule.c (string.join calls joinfields now) | ||||
* | * bltinmodule.c: added built-in function cmp(a, b) | Guido van Rossum | 1992-10-18 | 3 | -4/+77 |
| | | | | | | | | | | | | | | | * 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 | 5 | -68/+72 |
| | | | | | | 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 | -91/+40 |
| | |||||
* | Added C++ support in thread.h; don't use signals if not strictly | Sjoerd Mullender | 1992-09-11 | 1 | -5/+16 |
| | | | | | necessary, and when they are, use SIGKILL; when compiled with -DDEBUG, only print debug messages when "THREADDEBUG" is set in the environment. | ||||
* | Give code objects a more useful representation. | Guido van Rossum | 1992-09-03 | 1 | -1/+18 |
| | |||||
* | Add some debugging features if DEBUG defined | Guido van Rossum | 1992-09-03 | 1 | -0/+10 |
| | | | | | (fetch the filename as a string so I can see it with dbx, and set f_lineno); call abort() when detecting an "undetected" error. | ||||
* | Add sys.exitfunc feature. Make askync non-static. | Guido van Rossum | 1992-09-03 | 1 | -1/+20 |
| | |||||
* | Add $PYTHONSTARTUP feature. | Guido van Rossum | 1992-09-03 | 1 | -0/+10 |
| | |||||
* | Add an optional interface to turn malloc debugging on and off. | Guido van Rossum | 1992-09-03 | 1 | -0/+21 |
| | |||||
* | newest version | Sjoerd Mullender | 1992-09-02 | 1 | -91/+0 |
| | |||||
* | adapted SV module to the new svideo library. | Sjoerd Mullender | 1992-09-02 | 1 | -0/+91 |
| | | | | update thread package. | ||||
* | suppress unnecessary error message if too many arguments are passed | Guido van Rossum | 1992-08-27 | 1 | -2/+5 |
| | |||||
* | fix *serious* (new) bug in testbool: by default objects should test | Guido van Rossum | 1992-08-19 | 1 | -1/+1 |
| | | | | true, not false!!! | ||||
* | fix *serious* (new) bug in evalfile: forgot to initialize s!!! | Guido van Rossum | 1992-08-19 | 1 | -0/+1 |
| | |||||
* | New thread.c from Sjoerd, supports _exit_prog(). Use this in goaway() | Guido van Rossum | 1992-08-17 | 2 | -90/+229 |
| | | | | to avoid hanging in cleanup(). | ||||
* | use getargs() in more cases; | Guido van Rossum | 1992-08-14 | 1 | -63/+48 |
| | | | | oct(0) should return '0', not '00' | ||||
* | check for embedded \0 in strings for z and s formats | Guido van Rossum | 1992-08-14 | 1 | -2/+13 |
| | |||||
* | * classobject.[ch], {float,long,int}object.c, bltinmodule.c: | Guido van Rossum | 1992-08-14 | 2 | -36/+31 |
| | | | | | | 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 | -32/+109 |
| | | | | | by special syntax: you can now define your own numbers, sequences and mappings. | ||||
* | To ignore a call, cast it to (void), not to (void *)... | Guido van Rossum | 1992-08-12 | 1 | -1/+1 |
| | |||||
* | * Makefile: cosmetics | Guido van Rossum | 1992-08-05 | 6 | -48/+40 |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | 4 | -384/+783 |
| | | | | | | | | | | | * 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 | ||||
* | sysmodule.c: calling sys.settrace() or sys.setprofile() without | Guido van Rossum | 1992-06-19 | 1 | -2/+2 |
| | | | | | | | | | arguments crashed in INCREF() calls which should be XINCREF() calls. timemodule.c: fix for SEQUENT port (sys/select, struct timezone) by Jaap Vermeulen xxobject.c: include modsupport.h | ||||
* | Removed confusing, incorrect comment. | Guido van Rossum | 1992-06-03 | 1 | -1/+1 |
| | |||||
* | Added new types to setattr() as well... | Guido van Rossum | 1992-06-03 | 1 | -0/+52 |
| | |||||
* | Added parameter decls to do_mkvalue for non-template machines | Guido van Rossum | 1992-05-15 | 1 | -1/+4 |
| | |||||
* | Merged with Steve Miale's version | Guido van Rossum | 1992-04-13 | 1 | -79/+145 |
| | |||||
* | Added mkvalue() function | Guido van Rossum | 1992-04-13 | 1 | -0/+127 |
| | |||||
* | 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 |
| | |||||
* | Don't use NULL as 0 int! | Guido van Rossum | 1992-04-06 | 1 | -1/+1 |
| | |||||
* | Latest gramamr | Guido van Rossum | 1992-04-06 | 1 | -132/+130 |
| | |||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 12 | -12/+12 |
| | |||||
* | Only * can be used for varargs argument lists | Guido van Rossum | 1992-04-05 | 1 | -4/+8 |
| | |||||
* | (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 | ||||
* | Fix reference counts of sys_trace and sys_profile | Guido van Rossum | 1992-04-05 | 1 | -3/+7 |
| | |||||
* | tightened try statement syntax | Guido van Rossum | 1992-03-31 | 1 | -10/+22 |
| | |||||
* | fix HUGE and MAXVAL (suggested by Tim Peters) | Guido van Rossum | 1992-03-27 | 1 | -2/+2 |
| | |||||
* | lint | Guido van Rossum | 1992-03-27 | 1 | -2/+0 |
| | |||||
* | lint (added prototypes for all static fns) | Guido van Rossum | 1992-03-27 | 1 | -29/+34 |
| | |||||
* | fix what lint found | Guido van Rossum | 1992-03-27 | 1 | -16/+8 |
| | |||||
* | Shut up lint | Guido van Rossum | 1992-03-27 | 1 | -0/+2 |
| | |||||
* | Shut up lint. | Guido van Rossum | 1992-03-27 | 1 | -2/+2 |
| | |||||
* | Add -v option (verbose) and get rid of finaloutput() function (unused) | Guido van Rossum | 1992-03-27 | 1 | -11/+8 |
| | |||||
* | Print messages about where from modules are imported when -v is given. | Guido van Rossum | 1992-03-27 | 1 | -2/+27 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1992-03-24 | 1 | -605/+703 |
| | |||||
* | Added settrace() and setprofile(). | Guido van Rossum | 1992-03-23 | 1 | -13/+30 |
| |