summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
Commit message (Expand)AuthorAgeFilesLines
* Allow assignment to newinstance.__dict__.Guido van Rossum2001-10-261-1/+24
* Methods of built-in types now properly check for keyword argumentsGuido van Rossum2001-10-221-12/+14
* Add missing "static" declarations (found by "make smelly").Neil Schemenauer2001-10-211-4/+4
* Big internal change that should have no external effects: unify theGuido van Rossum2001-10-211-527/+243
* Fix SF bug #472234: type(obj) calls type->tp_init (Roeland Rengelink)Guido van Rossum2001-10-181-0/+7
* Remove a bunch of stuff that's no longer needed now that update_slot()Guido van Rossum2001-10-171-42/+20
* slot_sq_item(): ensure that self is an instance of the wrapper'sGuido van Rossum2001-10-171-3/+5
* Refactored the update_slot() code a bit to be hopefully slightly moreGuido van Rossum2001-10-161-57/+61
* Get rid of __defined__ and tp_defined -- there's no need toGuido van Rossum2001-10-151-41/+23
* Completely get rid of __dynamic__ and the correspondingGuido van Rossum2001-10-151-101/+21
* Add (void *) casts to solve some problems on HP-UX 11.0, as discussedGuido van Rossum2001-10-151-3/+3
* Redid the slot computation. The initial slot assignments are now doneGuido van Rossum2001-10-131-64/+91
* Now that COPYBUF is a new local macro, add #undef COPYBUF.Guido van Rossum2001-10-121-0/+1
* SF bug [#470040] ParseTuple t# vs subclasses.Tim Peters2001-10-121-1/+11
* Another step in the right direction: when a new class's attributeGuido van Rossum2001-10-111-33/+116
* The slot definition table entry for mp_getitem had a bogus wrapperGuido van Rossum2001-10-091-1/+2
* Halfway checkin. This is still messy, but it's beginning to addressGuido van Rossum2001-10-091-140/+301
* It turned out not so difficult to support old-style numbers (thoseGuido van Rossum2001-10-091-7/+24
* type_subclasses(): debug build was broken due to typo in new assert().Tim Peters2001-10-081-1/+1
* Keep track of a type's subclasses (subtypes), in tp_subclasses, whichGuido van Rossum2001-10-081-1/+71
* Guido suggests, and I agree, to insist that SIZEOF_VOID_P be a power of 2.Tim Peters2001-10-071-3/+1
* _PyObject_VAR_SIZE: always round up to a multiple-of-pointer-size value.Tim Peters2001-10-061-18/+3
* Repaired the debug Windows deaths in test_descr, by allocating enoughTim Peters2001-10-061-13/+23
* Enable GC for new-style instances. This touches lots of files, sinceGuido van Rossum2001-10-051-10/+37
* Make new classes dynamic by default.Guido van Rossum2001-10-041-16/+4
* type_new(): cast PyObject_MALLOC's result to char*, for clarity.Tim Peters2001-10-041-1/+1
* SF bug [#467331] ClassType.__doc__ always None.Tim Peters2001-10-041-1/+24
* typeobject.c, slot_tp_gettattr_hook(): fix the speedup hack -- theGuido van Rossum2001-10-031-0/+12
* *EXPERIMENTAL* speedup of slot_sq_item. This sped up the followingGuido van Rossum2001-10-031-7/+61
* call_method(), call_maybe(): fix a performance bug: the argumentGuido van Rossum2001-10-031-8/+3
* Add Garbage Collection support to new-style classes (not yet to theirGuido van Rossum2001-10-021-9/+111
* Miscellaneous code fiddling:Guido van Rossum2001-10-011-28/+41
* slot_sq_length(): squash a leak.Guido van Rossum2001-10-011-1/+4
* slot_tp_new(): newargs was leaking.Guido van Rossum2001-10-011-0/+1
* Fix typo found by doerwalter.Guido van Rossum2001-10-011-1/+1
* SF bug [#466173] unpack TypeError unclearTim Peters2001-09-301-1/+1
* Ouch. The wrapper for __rpow__ was the same as for __pow__, resultingGuido van Rossum2001-09-281-1/+15
* Merge branch changes (coercion, rich comparisons) into trunk.Guido van Rossum2001-09-271-3/+94
* add_operators(): the __floordiv__ and __truediv__ descriptors (andGuido van Rossum2001-09-251-0/+10
* - Provisional support for pickling new-style objects. (*)Guido van Rossum2001-09-251-11/+50
* Change repr() of a new-style class to say <class 'ClassName'> ratherGuido van Rossum2001-09-251-4/+11
* Make __class__ assignment possible, when the object structures are theGuido van Rossum2001-09-251-4/+83
* Another comparison patch-up: comparing a type with a dynamic metatypeGuido van Rossum2001-09-241-1/+2
* Fix the baffler that Tim reported: sometimes the repr() of an objectGuido van Rossum2001-09-241-2/+2
* Add the __getattr__ hook back. The rules are now:Guido van Rossum2001-09-211-0/+39
* Change the name of the __getattr__ special method for new-styleGuido van Rossum2001-09-211-4/+4
* Add optional docstrings to getset descriptors. Fortunately, there'sGuido van Rossum2001-09-201-3/+3
* Add optional docstrings to member descriptors. For backwardsGuido van Rossum2001-09-201-9/+11
* Hopefully fix 3-way comparisons. This unfortunately adds yet anotherGuido van Rossum2001-09-181-5/+6
* wrap_cmpfunc(): added a safety check for the __cmp__ wrapper. We canGuido van Rossum2001-09-181-0/+9