Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 1 | -662/+677 |
| | |||||
* | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 1 | -3/+5 |
| | |||||
* | 1. Add string conversions to int(), long(), float(). (Not to complex()!) | Guido van Rossum | 1997-03-31 | 1 | -7/+127 |
| | | | | | | | | | | 2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st. | ||||
* | Define __debug__ as 0 if -O is given, 1 otherwise. Also test for | Guido van Rossum | 1997-03-11 | 1 | -0/+4 |
| | | | | errors in initializing the dictionary. | ||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | | | | | New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets. | ||||
* | Added intern() function. | Guido van Rossum | 1997-02-14 | 1 | -0/+14 |
| | |||||
* | Intern the string "__complex__". | Guido van Rossum | 1997-01-18 | 1 | -1/+1 |
| | |||||
* | Add unistd.h to make gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Support __complex__ method on instances, for complex() conversion. | Guido van Rossum | 1996-12-05 | 1 | -1/+23 |
| | | | | Keep gcc -Wall happy. | ||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 1 | -13/+20 |
| | |||||
* | Forget about Ellipses b/w compatibility. | Guido van Rossum | 1996-10-16 | 1 | -2/+0 |
| | |||||
* | Ellipses -> Ellipsis rename (the dictionary really says that it should | Guido van Rossum | 1996-10-11 | 1 | -1/+3 |
| | | | | | | | | be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis. | ||||
* | Stupid bug: complex(x,y) would yield x+xj | Guido van Rossum | 1996-09-07 | 1 | -1/+1 |
| | |||||
* | Don't die in resizestring() on filter(<func>, ""). | Guido van Rossum | 1996-08-16 | 1 | -1/+1 |
| | |||||
* | Include mymath.h instead of declaring prototypes for math functions. | Guido van Rossum | 1996-08-08 | 1 | -5/+13 |
| | | | | Fix leak and unchecked error in complex(). | ||||
* | Add 'Ellipses' object. | Guido van Rossum | 1996-07-30 | 1 | -0/+1 |
| | |||||
* | Changes for slice and ellipses | Guido van Rossum | 1996-07-30 | 1 | -0/+23 |
| | |||||
* | Py_complex; and WITHOUT_COMPLEX added to getargs.c | Guido van Rossum | 1996-07-21 | 1 | -1/+1 |
| | |||||
* | Removed some redundant header includes. | Guido van Rossum | 1996-05-23 | 1 | -5/+5 |
| | | | | | dir(object) now returns object.__dict__.keys() even if __dict__ is not a dictionary. | ||||
* | Add list() method, analogous to tuple(). | Guido van Rossum | 1996-04-09 | 1 | -0/+36 |
| | |||||
* | properly initialize optional arguments to apply() | Guido van Rossum | 1996-01-26 | 1 | -1/+1 |
| | |||||
* | changes for complex numbers | Guido van Rossum | 1996-01-12 | 1 | -1/+53 |
| | |||||
* | avoid resize of 0-length tuple | Guido van Rossum | 1995-08-04 | 1 | -0/+5 |
| | |||||
* | be more suspicious of getlocals() | Guido van Rossum | 1995-07-26 | 1 | -2/+8 |
| | |||||
* | keyword arguments and faster calls | Guido van Rossum | 1995-07-18 | 1 | -6/+10 |
| | |||||
* | rename arglist to alist (conflict with new grammar symbol) | Guido van Rossum | 1995-07-10 | 1 | -16/+16 |
| | |||||
* | added locals() and globals(); [raw_]input() uses readline() | Guido van Rossum | 1995-07-07 | 1 | -1/+67 |
| | |||||
* | fix bogus test for negative float | Guido van Rossum | 1995-02-18 | 1 | -3/+3 |
| | |||||
* | call __import__() with 4 args instead of 1 | Guido van Rossum | 1995-02-14 | 1 | -1/+5 |
| | |||||
* | test for float to the float power here | Guido van Rossum | 1995-02-10 | 1 | -0/+5 |
| | |||||
* | moved callable() to object.c | Guido van Rossum | 1995-01-26 | 1 | -29/+0 |
| | |||||
* | fix import related leaks | Guido van Rossum | 1995-01-20 | 1 | -5/+1 |
| | |||||
* | fix Alpha bug in (x)range; different __builtins__ initialization | Guido van Rossum | 1995-01-17 | 1 | -8/+14 |
| | |||||
* | fix subtle refcount big in filter() -- Tim MacKenzie | Guido van Rossum | 1995-01-10 | 1 | -3/+6 |
| | |||||
* | move coerce() from bltinmodule.c to object.c and implement builtin_coerce() ↵ | Guido van Rossum | 1995-01-10 | 1 | -50/+7 |
| | | | | differently | ||||
* | fix globals/locals defaults for eval/execfile | Guido van Rossum | 1995-01-10 | 1 | -10/+10 |
| | |||||
* | __builtins__ mods (and sys_checkinterval for ceval.c) | Guido van Rossum | 1995-01-09 | 1 | -19/+32 |
| | |||||
* | * Python/bltinmodule.c: restructured coerce(), divmod(), pow() to | Guido van Rossum | 1995-01-07 | 1 | -52/+80 |
| | | | | use new instancebinop interface | ||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 1 | -9/+24 |
| | | | | | | bltinmodule.c: fixed coerce() nightmare in ternary pow(). modsupport.c (initmodule2): pass METH_FREENAME flag to newmethodobject(). pythonrun.c: move flushline() into and around print_error(). | ||||
* | Lots of changes, most minor (fatal() instead of abort(), use of | Guido van Rossum | 1995-01-02 | 1 | -301/+310 |
| | | | | | | err_fetch/err_restore and so on). But... NOTE: import.c has been rewritten and all the DL stuff is now in the new file importdl.c. | ||||
* | fix pow() core dump | Guido van Rossum | 1994-11-10 | 1 | -1/+1 |
| | |||||
* | * Python/ceval.c, Include/ceval.h: promote MakePendingCalls to | Guido van Rossum | 1994-09-29 | 1 | -6/+15 |
| | | | | | | | | | | global: Py_MakePendingCalls. Also guard against recursive calls * Include/classobject.h, Objects/classobject.c, Python/{ceval.c,bltinmodule.c}: entirely redone operator overloading. The rules for class instances are now much more relaxed than for other built-in types (whose coerce must still return two objects of the same type) | ||||
* | * Python/getmtime.c: Remove mac specifics (Mac subdirectory has | Guido van Rossum | 1994-08-30 | 1 | -13/+2 |
| | | | | | | its own version now) * Python/bltinmodule.c (builtin_tuple): use pre-existing listtuple(v) for lists | ||||
* | Added delattr() | Guido van Rossum | 1994-08-29 | 1 | -0/+16 |
| | |||||
* | * Python/bltinmodule.c: added tuple() builtin | Guido van Rossum | 1994-08-29 | 1 | -0/+71 |
| | |||||
* | Python/bltinmodule.c: mods by Andrew Kuchling to implement | Guido van Rossum | 1994-08-29 | 1 | -5/+18 |
| | | | | pow(x,y,z) == pow(x,y)%z, but without incurring overflow | ||||
* | * Python/bltinmodule.c (builtin_vars): correct typo in error msg | Guido van Rossum | 1994-08-29 | 1 | -101/+211 |
| | |||||
* | * rangeobject.[ch], bltinmodule.c: incorporate new version of range | Guido van Rossum | 1993-12-21 | 1 | -1/+1 |
| | | | | object (unchanged from source except "range" -> "xrange"). | ||||
* | * import.c (get_module): pass .py filename to parse_file, not .pyc filename! | Guido van Rossum | 1993-11-30 | 1 | -44/+3 |
| | | | | | | | | | | | * funcobject.c (func_repr): don't call getstringvalue(None) for anonymous functions. * bltinmodule.c: removed lambda (which is now a built-in function); removed implied lambda for string arg to filter/map/reduce. * Grammar, graminit.[ch], compile.[ch]: replaced lambda as built-in function by lambda as grammar entity: instead of "lambda('x: x+1')" you write "lambda x: x+1". * Xtmodule.c (checkargdict): return 0, not NULL, for error. | ||||
* | * mpzmodule.c: removed redundant mpz_print function. | Guido van Rossum | 1993-11-05 | 1 | -6/+1 |
| | | | | | | | | | | | | | | * object.[ch], bltinmodule.c, fileobject.c: changed str() to call strobject() which calls an object's __str__ method if it has one. strobject() is also called by writeobject() when PRINT_RAW is passed. * ceval.c: rationalize code for PRINT_ITEM (no change in function!) * funcobject.c, codeobject.c: added compare and hash functionality. Functions with identical code objects and the same global dictionary are equal. Code objects are equal when their code, constants list and names list are identical (i.e. the filename and code name don't count). (hash doesn't work yet since the constants are in a list and lists can't be hashed -- suppose this should really be done with a tuple now we have resizetuple!) |