summaryrefslogtreecommitdiff
path: root/Objects/classobject.c
AgeCommit message (Expand)AuthorLines
2006-10-09Backport rev 51262 from trunk -- squashes a compiler warning on WindowsTim Peters-2/+2
2006-10-05[Backport r51246 | neal.norwitz]Andrew M. Kuchling-30/+110
2006-09-30Patch #1567691: super() and new.instancemethod() now don't acceptGeorg Brandl-0/+2
2006-06-13Classic class that defined ``def __coerce__(self, other): return other, self``Brett Cannon-0/+3
2005-09-20- On 64-bit platforms, when __len__() returns a value that cannot beGuido van Rossum-1/+11
2005-03-31Backport:Michael W. Hudson-0/+6
2004-09-23A static swapped_op[] array was defined in 3 different C files, & I thinkTim Peters-4/+1
2004-08-03Repair the same thinko in two places about handling of _Py_RefTotal inMichael W. Hudson-6/+7
2003-11-22- When method objects have an attribute that can be satisfied eitherGuido van Rossum-28/+30
2003-10-28Deleting cyclic object comparison.Armin Rigo-6/+4
2003-10-12Simplify and speedup uses of Py_BuildValue():Raymond Hettinger-14/+14
2003-09-16Fix leak in classobject.c. The leak surfaced on the error exit whenRaymond Hettinger-0/+1
2003-04-09Make it possible to call instancemethod() with 2 arguments.Guido van Rossum-2/+2
2003-04-07New private API function _PyInstance_Lookup. gc will use this to figureTim Peters-0/+21
2003-02-11Refactor instancemethod_descr_get() to (a) be more clear, (b) be safeGuido van Rossum-8/+18
2002-12-29SF patch #659536: Use PyArg_UnpackTuple where possible.Raymond Hettinger-1/+1
2002-12-12Change issubclass() so that recursive tuples (directly or indirectlyWalter Dörwald-1/+2
2002-12-12Enhance issubclass() and PyObject_IsSubclass() so that a tuple isWalter Dörwald-0/+7
2002-10-29Since properties are supported here, is possible thatGuido van Rossum-13/+12
2002-10-18Fix (real! :-) memory leaks in half_cmp and half_binop.Guido van Rossum-1/+4
2002-08-20getinstclassname(): Squash new compiler wng in assert (comparison ofTim Peters-1/+1
2002-08-19SF patch 576101, by Oren Tirosh: alternative implementation ofGuido van Rossum-20/+24
2002-07-11object.h special-build macro minefield: renamed all the new lexicalTim Peters-49/+38
2002-07-07Removed WITH_CYCLE_GC #ifdef-ery. Holes:Tim Peters-3/+0
2002-06-18About the new but unreferenced new_class, Guido sez:Michael W. Hudson-15/+0
2002-06-14SF patch 568629 by Oren Tirosh: types made callable.Guido van Rossum-5/+93
2002-06-13Major cleanup operation: whenever there's a call that looks for anGuido van Rossum-10/+59
2002-06-13Fix for SF bug 532646. This is a little simpler than what NealGuido van Rossum-1/+17
2001-10-26Be smarter about clearing the weakref lists for instances, instance methods,Fred Drake-2/+4
2001-10-22Fix for SF bug #472940: can't getattr() attribute shown by dir()Guido van Rossum-28/+1
2001-10-17Protect references to tp_descr_get and tp_dict with the appropriate test:Guido van Rossum-9/+14
2001-09-30SF bug [#466173] unpack TypeError unclearTim Peters-1/+1
2001-09-20Add optional docstrings to getset descriptors. Fortunately, there'sGuido van Rossum-4/+4
2001-09-20Add optional docstrings to member descriptors. For backwardsGuido van Rossum-4/+7
2001-09-18Properly repr classes without module names.Martin v. Löwis-1/+1
2001-09-18Redo the PyMethod attributes using a dir()-friendly approach, creatingGuido van Rossum-37/+69
2001-09-08Generalize operator.indexOf (PySequence_Index) to work with anyTim Peters-1/+2
2001-09-07PyClass_New(): put the extended Don Beaudry hook back in. When one ofGuido van Rossum-4/+14
2001-09-05Add PyMethod_Function(), PyMethod_Self(), PyMethod_Class() back.Guido van Rossum-0/+30
2001-08-29Use new GC API.Neil Schemenauer-22/+19
2001-08-24Improve the error message issued when an unbound method is called withGuido van Rossum-3/+49
2001-08-24repr's converted to using PyString_FromFormat() instead of sprintf'ingBarry Warsaw-19/+14
2001-08-17Fix core dump in repr() of instancemethod whose class==NULL.Guido van Rossum-7/+11
2001-08-17instance_getattr2(): rewritten to remove unnecessary stuff andGuido van Rossum-24/+13
2001-08-17Instance methods: allow a NULL value for im_class.Guido van Rossum-2/+2
2001-08-16classobject.c:instancemethod_descr_get(): when a bound method isGuido van Rossum-0/+5
2001-08-15PyMethod_Type: add a tp_descr_get slot function to ensure properGuido van Rossum-1/+19
2001-08-08Implement PEP 238 in its (almost) full glory.Guido van Rossum-0/+8
2001-08-02Fix the test_weakref.py failure. Introduced by resolving "a conflict"Tim Peters-7/+0
2001-08-02Merge of descr-branch back into trunk.Tim Peters-74/+161