summaryrefslogtreecommitdiffstats
path: root/Objects/typeobject.c
Commit message (Expand)AuthorAgeFilesLines
* 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
* type_new(): Didn't compile anymore, due to change in struct memberlistTim Peters2001-09-181-1/+1
* tp_new_wrapper(): A subtle change in the check for safe use.Guido van Rossum2001-09-141-1/+1
* Add call_maybe(): a variant of call_method() that returnsGuido van Rossum2001-09-141-10/+67
* call_method():Guido van Rossum2001-09-141-36/+27
* type_call(): Change in policy. The keyword args (if any) are now passedTim Peters2001-09-131-1/+1
* Generalize operator.indexOf (PySequence_Index) to work with anyTim Peters2001-09-081-1/+2
* PyType_IsSubtype(): test tp_flags for HAVE_CLASS bit before accessingGuido van Rossum2001-09-071-0/+3
* Give 'super' a decent repr(), and readonly attributes to access theGuido van Rossum2001-08-301-11/+36
* Squash new compiler wng.Tim Peters2001-08-301-1/+1
* Pytype_GenericAlloc(): round up size so we zap all four bytes of theGuido van Rossum2001-08-301-16/+51
* Safety measures now that str and tuple are subclassable:Guido van Rossum2001-08-301-1/+9
* Make 'super' subclassable. (Not sure how useful this is yet. :-)Guido van Rossum2001-08-301-1/+1
* Use new GC API. Remove usage of BASICSIZE macros.Neil Schemenauer2001-08-291-18/+18
* Fix super() so that it is usable for static methods (like __new__) as well.Guido van Rossum2001-08-291-8/+27
* Fix a typo in SLOT0 macro for the declaration of cache_str.Guido van Rossum2001-08-281-1/+1
* Finish the previous checkin: also avoid getattr when calling the methodGuido van Rossum2001-08-281-25/+93
* Change in policy: when a slot_tp_xxx function looks for the __xxx__ method,Guido van Rossum2001-08-281-15/+57
* repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw2001-08-241-23/+21
* Add 'super', another new object type with magical properties.Guido van Rossum2001-08-241-0/+155
* slot_tp_descr_get(): guard against NULL obj or type (bug reported byGuido van Rossum2001-08-241-2/+11
* Merge changes from r22a2-branch back into trunk. Also, change patchBarry Warsaw2001-08-221-7/+30
* Address SF bug #442813. The sequence getitem wrappers should doGuido van Rossum2001-08-171-8/+50
* Weak reference support, closing SF bug #451773.Guido van Rossum2001-08-171-21/+51
* type_new(): look for __dynamic__ at the module level (after looking inGuido van Rossum2001-08-171-14/+54
* type_new(): only defer to the winning metatype if it's different fromGuido van Rossum2001-08-171-8/+12
* Fix object_repr() to include the module (using the same rules asGuido van Rossum2001-08-161-2/+23
* Patch #427190: Implement and use METH_NOARGS and METH_O.Martin v. Löwis2001-08-161-4/+2
* Fix SF bug #442501: calculate __module__ properly.Guido van Rossum2001-08-161-5/+71
* Subtle change to make None.__class__ work:Guido van Rossum2001-08-161-2/+0
* - Another big step in the right direction. All the overridableGuido van Rossum2001-08-151-47/+226
* Non-function fields, like tp_dictoffset and tp_weaklistoffset, shouldGuido van Rossum2001-08-141-5/+22
* Make dynamic types work as intended. Or at least more so.Guido van Rossum2001-08-121-22/+35
* Temporary stop-gap fix for dynamic classes, so they pass the test.Guido van Rossum2001-08-121-1/+6
* - Big changes to fix SF bug #442833 (a nasty multiple inheritanceGuido van Rossum2001-08-101-91/+122
* Change PyType_Ready() to use the READY and READYING flags. This makesGuido van Rossum2001-08-101-13/+26
* Sigh. Strengthen the resriction of the previous checkin: tp_new isGuido van Rossum2001-08-091-1/+2
* Thinking back to the 2.22 revision, I didn't like what I did there oneGuido van Rossum2001-08-091-13/+4
* Proper support for binary operators, including true division and floorGuido van Rossum2001-08-081-136/+199