Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | * bltinmodule.c: added built-in function cmp(a, b) | Guido van Rossum | 1992-10-18 | 1 | -0/+12 | |
| | | | | | | | | | | | | | | | * 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 | 1 | -19/+14 | |
| | | | | | | 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 | |
| | ||||||
* | fix *serious* (new) bug in evalfile: forgot to initialize s!!! | Guido van Rossum | 1992-08-19 | 1 | -0/+1 | |
| | ||||||
* | use getargs() in more cases; | Guido van Rossum | 1992-08-14 | 1 | -63/+48 | |
| | | | | oct(0) should return '0', not '00' | |||||
* | * classobject.[ch], {float,long,int}object.c, bltinmodule.c: | Guido van Rossum | 1992-08-14 | 1 | -29/+13 | |
| | | | | | | 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 | -1/+34 | |
| | | | | | by special syntax: you can now define your own numbers, sequences and mappings. | |||||
* | * Makefile: cosmetics | Guido van Rossum | 1992-08-05 | 1 | -1/+6 | |
| | | | | | | | | | | | | | | | | | | | | | | | | | * 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 | |||||
* | Copyright for 1992 added | Guido van Rossum | 1992-04-05 | 1 | -1/+1 | |
| | ||||||
* | lint | Guido van Rossum | 1992-03-27 | 1 | -2/+0 | |
| | ||||||
* | Strip leading whitespace from input(). | Guido van Rossum | 1992-03-12 | 1 | -0/+4 | |
| | ||||||
* | Skip leading whitespace of eval() string argument. | Guido van Rossum | 1992-03-04 | 1 | -1/+7 | |
| | ||||||
* | Added execfile(). | Guido van Rossum | 1992-02-25 | 1 | -0/+37 | |
| | ||||||
* | Get rid of comment about open(). | Guido van Rossum | 1992-02-05 | 1 | -1/+1 | |
| | ||||||
* | Added getattr and setattr built-in functions. | Guido van Rossum | 1992-01-27 | 1 | -0/+36 | |
| | ||||||
* | long_format() is now declared in longobject.h. | Guido van Rossum | 1992-01-19 | 1 | -5/+2 | |
| | ||||||
* | Added SystemExit. | Guido van Rossum | 1991-12-31 | 1 | -0/+2 | |
| | ||||||
* | Sorted exceptions; added ImportError. | Guido van Rossum | 1991-12-24 | 1 | -9/+11 | |
| | ||||||
* | Regularize exceptions. | Guido van Rossum | 1991-12-16 | 1 | -36/+27 | |
| | ||||||
* | Added "apply"; added "SyntaxError"; changed table lay-out. | Guido van Rossum | 1991-12-16 | 1 | -23/+42 | |
| | ||||||
* | Added new exceptions. | Guido van Rossum | 1991-12-10 | 1 | -4/+25 | |
| | ||||||
* | Made dir() more robust. | Guido van Rossum | 1991-10-24 | 1 | -6/+57 | |
| | | | | Added hex() and oct(). | |||||
* | Protect dir() against non-directory __dict__ attributes. | Guido van Rossum | 1991-10-20 | 1 | -7/+14 | |
| | ||||||
* | Change getbuiltin interface to get the name as an object; | Guido van Rossum | 1991-08-16 | 1 | -2/+2 | |
| | | | | call dict2lookup insteead of dictlookup. | |||||
* | Add and use coerce() routine for mixed mode arithmetic | Guido van Rossum | 1991-07-01 | 1 | -17/+76 | |
| | ||||||
* | printobject now returns an error code | Guido van Rossum | 1991-06-07 | 1 | -4/+8 | |
| | ||||||
* | Fix conversion of double to long; stylistic changes. | Guido van Rossum | 1991-06-03 | 1 | -3/+3 | |
| | ||||||
* | Added long() and support for longs in int() and float(); | Guido van Rossum | 1991-05-05 | 1 | -58/+72 | |
| | | | | | turned abs() and divmod() into generic versions; added pow(). | |||||
* | Use fileobject's filegetline() to implement unlimited raw_input(). | Guido van Rossum | 1991-04-04 | 1 | -19/+1 | |
| | ||||||
* | Added copyright notice. | Guido van Rossum | 1991-02-19 | 1 | -0/+24 | |
| | ||||||
* | Reversed min and max (to alphabetical order). | Guido van Rossum | 1991-02-19 | 1 | -1/+1 | |
| | ||||||
* | File name shortening. | Guido van Rossum | 1991-01-21 | 1 | -1/+1 | |
| | ||||||
* | "Compiling" version | Guido van Rossum | 1990-12-20 | 1 | -0/+535 | |