Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | removed unused vars | Guido van Rossum | 1995-01-26 | 1 | -1/+0 |
| | |||||
* | apply dictclear to dict of deleted modules | Guido van Rossum | 1995-01-26 | 1 | -1/+3 |
| | |||||
* | move callable() here | Guido van Rossum | 1995-01-26 | 1 | -0/+29 |
| | |||||
* | fix leak in func_dealloc (forgot to decref name) | Guido van Rossum | 1995-01-20 | 1 | -0/+1 |
| | |||||
* | Fix NULL dereference in case of out-of-memory condition | Jack Jansen | 1995-01-19 | 1 | -4/+5 |
| | |||||
* | fix strobject() behavior | Guido van Rossum | 1995-01-17 | 1 | -2/+4 |
| | |||||
* | added reverselist; free recycling bin on error exit | Guido van Rossum | 1995-01-17 | 1 | -0/+16 |
| | |||||
* | long_scan is no longer used | Guido van Rossum | 1995-01-17 | 1 | -0/+2 |
| | |||||
* | make a few things static | Guido van Rossum | 1995-01-17 | 1 | -2/+2 |
| | |||||
* | don't declare fmod/pow for any STDC compiler | Guido van Rossum | 1995-01-17 | 1 | -1/+1 |
| | |||||
* | different init for __builtins__ | Guido van Rossum | 1995-01-17 | 1 | -0/+2 |
| | |||||
* | added $& to $(LIB) target for Sequent | Guido van Rossum | 1995-01-17 | 1 | -1/+1 |
| | |||||
* | fix reentrancy bug in slice assignment | Guido van Rossum | 1995-01-17 | 1 | -4/+20 |
| | |||||
* | properly implement cmp() for class instances | Guido van Rossum | 1995-01-12 | 1 | -0/+31 |
| | |||||
* | move coerce() from bltinmodule.c to object.c and implement builtin_coerce() ↵ | Guido van Rossum | 1995-01-10 | 1 | -0/+33 |
| | | | | differently | ||||
* | implement coercions involving instances properly | Guido van Rossum | 1995-01-10 | 1 | -1/+53 |
| | |||||
* | fix memory leak and null pointer dereference | Guido van Rossum | 1995-01-10 | 2 | -2/+6 |
| | |||||
* | add restrictions in restricted mode | Guido van Rossum | 1995-01-10 | 3 | -25/+45 |
| | |||||
* | add builtins handling and restricted flag | Guido van Rossum | 1995-01-10 | 1 | -2/+14 |
| | |||||
* | * Objects/classobject.c: added 5th (function) parameter to | Guido van Rossum | 1995-01-07 | 1 | -27/+49 |
| | | | | | instancebinop, to support things like Rational * float; added documentation strings to classes and methods | ||||
* | * Objects/methodobject.c: changed drastically, the object now | Guido van Rossum | 1995-01-07 | 1 | -27/+44 |
| | | | | | contains a pointer to the struct methodlist (which must be static); added attributes __name__, __doc__ and __self__ | ||||
* | Added __doc__ attribute (alias func_doc), initialized from first | Guido van Rossum | 1995-01-07 | 1 | -1/+16 |
| | | | | constant in code object if it is a string, else None | ||||
* | initialize __doc__ to None | Guido van Rossum | 1995-01-07 | 1 | -0/+2 |
| | |||||
* | added getattr(), supporting __doc__ and _name__ | Guido van Rossum | 1995-01-07 | 1 | -2/+33 |
| | |||||
* | attribute-less object is AttributeError, not TypeError | Guido van Rossum | 1995-01-07 | 1 | -1/+1 |
| | |||||
* | Added 1995 to copyright message. | Guido van Rossum | 1995-01-04 | 19 | -47/+50 |
| | | | | | floatobject.c: fix hash(). methodobject.c: support METH_FREENAME flag bit. | ||||
* | * Objects/mappingobject.c (mappingremove): don't call | Guido van Rossum | 1995-01-02 | 2 | -0/+6 |
| | | | | lookmapping() for empty dictionary | ||||
* | Lots of minor changes. Note for mappingobject.c: the hash table pointer | Guido van Rossum | 1995-01-02 | 12 | -96/+170 |
| | | | | can now be NULL. | ||||
* | fix comparison of instances without _-cmp__ | Guido van Rossum | 1994-11-10 | 1 | -3/+3 |
| | |||||
* | Comparison of two class instances without __cmp__ or __rcmp__ methods | Sjoerd Mullender | 1994-10-19 | 1 | -2/+5 |
| | | | | was broken. | ||||
* | * Include/classobject.h, Objects/classobject.c, Python/ceval.c: | Guido van Rossum | 1994-09-28 | 6 | -204/+219 |
| | | | | | | | | | | | | | | | | | | 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) * Objects/floatobject.c: add overflow check when converting float to int and implement truncation towards zero using ceil/float * Objects/longobject.c: change ValueError to OverflowError when converting to int * Objects/rangeobject.c: modernized * Objects/stringobject.c: use HAVE_LIMITS instead of __STDC__ * Objects/xxobject.c: changed to use new style (not finished?) | ||||
* | rearranged code in debugging version of DELREF to avoid touching data | Guido van Rossum | 1994-09-07 | 1 | -1/+2 |
| | | | | after it has been freed. | ||||
* | Yet another version (by me) of __getattr__ etc. | Guido van Rossum | 1994-09-05 | 1 | -174/+51 |
| | |||||
* | Mods (really diffs to 2.29) by Michael Scharf for alternative __getattr__ etc. | Guido van Rossum | 1994-09-05 | 1 | -105/+204 |
| | |||||
* | Merge back to main trunk | Guido van Rossum | 1994-08-30 | 9 | -128/+258 |
| | |||||
* | fix nasty bug in resizing (formatstring) | Guido van Rossum | 1994-08-30 | 1 | -18/+98 |
| | |||||
* | mods by Andrew Kuchling to implement | Guido van Rossum | 1994-08-29 | 1 | -41/+240 |
| | | | | | pow(x,y,z) == pow(x,y)%z, but without incurring overflow Correct problems found by THINK C 6.0 | ||||
* | New patches by Andrew to fix various problems | Guido van Rossum | 1994-08-29 | 1 | -33/+67 |
| | | | | Add cast for Lance | ||||
* | Correct problems found by THINK C 6.0 | Guido van Rossum | 1994-08-29 | 1 | -44/+67 |
| | |||||
* | * configure.in, */Makefile*.in: OPT can now be specified in the | Guido van Rossum | 1994-08-23 | 1 | -1/+2 |
| | | | | | | env at configure time and will then be put in all Makefiles as default * */Makefile*.in: remove lib*.a before adding to it | ||||
* | If an attribute is deleted, __setattr__ is called with 2 instead of 3 | Guido van Rossum | 1994-08-16 | 1 | -1/+5 |
| | | | | arguments (adding __delattr__ was deemed too much overhead) | ||||
* | New patches by Andrew to fix various problems | Guido van Rossum | 1994-08-12 | 1 | -5/+24 |
| | |||||
* | * Objects/classobject.c, Include/classobject.h: added __getattr__ | Guido van Rossum | 1994-08-12 | 1 | -17/+99 |
| | | | | | | | | and __setattr__ support to override getattr(x, name) and setattr(x, name, value) for class instances. This uses a special hack whereby the class is supposed to be static: the __getattr__ and __setattr__ methods are looked up only once and saved in the instance structure for speed | ||||
* | Merge alpha100 branch back to main trunk | Guido van Rossum | 1994-08-01 | 6 | -122/+229 |
| | |||||
* | Added getmaxint() so sys can initialize sys.maxint. | Guido van Rossum | 1993-12-24 | 2 | -9/+17 |
| | | | | Added Makefile.in. | ||||
* | * rangeobject.[ch], bltinmodule.c: incorporate new version of range | Guido van Rossum | 1993-12-21 | 1 | -23/+127 |
| | | | | object (unchanged from source except "range" -> "xrange"). | ||||
* | New file | Guido van Rossum | 1993-12-20 | 1 | -0/+66 |
| | |||||
* | * import.c (get_module): pass .py filename to parse_file, not .pyc filename! | Guido van Rossum | 1993-11-30 | 1 | -3/+6 |
| | | | | | | | | | | | * 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. | ||||
* | Fix lay-out of previous fix. | Guido van Rossum | 1993-11-23 | 2 | -4/+8 |
| | |||||
* | * timemodule.c: Add hack for Solaris 2. | Guido van Rossum | 1993-11-23 | 4 | -16/+12 |
| | | | | | | | | | | | | | | | * posixmodule.c: don't prototype getcwd() -- it's not portable... * mappingobject.c: double-check validity of last_name_char in dict{lookup,insert,remove}. * arraymodule.c: need memmove only for non-STDC Suns. * Makefile: comment out HTML_LIBS and XT_USE by default * pythonmain.c: don't prototype getopt() -- it's not standardized * socketmodule.c: cast flags arg to {get,set}sockopt() and addrbuf arg to recvfrom() to (ANY*). * pythonrun.c (initsigs): fix prototype, make it static * intobject.c (LONG_BIT): only #define it if not already defined * classobject.[ch]: remove all references to unused instance_convert() * mappingobject.c (getmappingsize): Don't return NULL in int function. |