summaryrefslogtreecommitdiff
path: root/Objects/weakrefobject.c
AgeCommit message (Expand)AuthorLines
2010-05-09Recorded merge of revisions 81029 via svnmerge fromAntoine Pitrou-55/+55
2009-11-19Merged revisions 76395 via svnmerge fromBenjamin Peterson-0/+17
2008-09-09Fix #3634 invalid return value from _weakref.ref(Exception).__init__Benjamin Peterson-1/+1
2008-06-16Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc-4/+12
2008-06-09This reverts r63675 based on the discussion in this thread:Gregory P. Smith-4/+4
2008-05-26Renamed PyString to PyBytesChristian Heimes-4/+4
2008-05-20#2592: delegate nb_index and the floor/truediv slots in weakref.proxy.Georg Brandl-0/+10
2007-12-19#1629: Renamed Py_Size, Py_Type and Py_Refcnt to Py_SIZE, Py_TYPE and Py_REFC...Christian Heimes-12/+12
2007-07-21PEP 3123: Provide forward compatibility with Python 3.0, while keepingMartin v. Löwis-18/+15
2007-01-23Fix crasher for when an object's __del__ creates a new weakref to itself.Brett Cannon-0/+3
2006-08-02_PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long.Neal Norwitz-2/+2
2006-05-25Replace PyObject_CallFunction calls with only object argsGeorg Brandl-1/+1
2006-04-15Use Py_VISIT in all tp_traverse methods, instead of traversing manually orThomas Wouters-2/+1
2006-03-30Remove unnecessary casts in type object initializers.Georg Brandl-44/+44
2006-03-07SF #1444030: Fix several potential defects found by Coverity.Hye-Shik Chang-1/+8
2006-02-27Revert backwards-incompatible const changes.Martin v. Löwis-2/+2
2006-02-15Merge ssize_t branch.Martin v. Löwis-9/+9
2006-01-08Remove some shadowed variablesNeal Norwitz-2/+2
2005-12-10Add const to several API functions that take char *.Jeremy Hylton-1/+1
2005-03-27SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior.Raymond Hettinger-5/+1
2004-10-30SF 1055820: weakref callback vs gc vs threadsTim Peters-1/+3
2004-08-03Be more careful about maintaining the invariants; it was actuallyFred Drake-3/+25
2004-07-08SF bug #978308, Spurious errors taking bool of dead proNeal Norwitz-1/+1
2004-07-02Make weak references subclassable:Fred Drake-68/+180
2004-02-04Allocating a new weakref object can cause existing weakref objects forFred Drake-3/+16
2004-02-03Fix bug in interpretation of the "callback" argument in the constructors forFred Drake-1/+5
2003-11-20SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters-4/+30
2003-07-14Remove proxy_print(), since that caused an inconsistency betweenFred Drake-10/+2
2003-06-30Fix SF 762891: "del p[key]" on proxy object raises SystemError()Raymond Hettinger-1/+5
2003-04-16- The repr() of a weakref object now shows the __name__ attribute ofGuido van Rossum-6/+15
2002-08-09Add support for the iterator protocol to weakref proxy objects.Fred Drake-38/+64
2002-03-27Remove weakref free list. This has the side effect of fixing a memoryNeil Schemenauer-26/+11
2001-12-19proxy_compare(): Make sure that we unwrap both objects being compared ifFred Drake-6/+13
2001-12-10Make sure that when we invoke callback functions associated with weakFred Drake-20/+24
2001-11-28weakref_repr(), proxy_repr(): Conversion of sprintf() toBarry Warsaw-8/+11
2001-11-28Fixes for possible buffer overflows in sprintf() usages.Marc-André Lemburg-1/+1
2001-10-22Referencable is not a word, so don't use it in an error message <wink>.Jeremy Hylton-2/+2
2001-10-18Remove an unnecessary check for NULL.Fred Drake-4/+3
2001-10-18When weakref proxies are involved in binary & ternary slot operations,Fred Drake-15/+28
2001-10-05The weak reference implementation, separated from the weakref module.Fred Drake-0/+715