65 Commits (671cd3290bb046060c8173b5c8294e35fd02ca3d)

Author SHA1 Message Date
Jack Diederich 4dafcc4ece - patch #1600346 submitted by Tomer Filiba 20 years ago
Guido van Rossum 47b9ff6ba1 Restructure comparison dramatically. There is no longer a default 20 years ago
Thomas Wouters 0e3f591aee Merged revisions 46753-51188 via svnmerge from 20 years ago
Neal Norwitz c5e060dee6 _PyWeakref_GetWeakrefCount() now returns a Py_ssize_t instead of long. 20 years ago
Guido van Rossum 3cf5b1eef9 Get rid of most of the flags (in tp_flags) that keep track of various 20 years ago
Thomas Wouters 477c8d5e70 Much-needed merge (using svnmerge.py this time) of trunk changes into p3yk. 20 years ago
Georg Brandl 684fd0c8ec Replace PyObject_CallFunction calls with only object args 20 years ago
Thomas Wouters 49fd7fa443 Merge p3yk branch with the trunk up to revision 45595. This breaks a fair 20 years ago
Thomas Wouters c6e55068ca Use Py_VISIT in all tp_traverse methods, instead of traversing manually or 20 years ago
Georg Brandl 347b30042b Remove unnecessary casts in type object initializers. 20 years ago
Neal Norwitz bcc0db82dc Get rid of remnants of integer division 20 years ago
Hye-Shik Chang 4af5c8cee4 SF #1444030: Fix several potential defects found by Coverity. 21 years ago
Martin v. Löwis 15e62742fa Revert backwards-incompatible const changes. 21 years ago
Martin v. Löwis 18e165558b Merge ssize_t branch. 21 years ago
Neal Norwitz 0c6e2f1640 Remove some shadowed variables 21 years ago
Jeremy Hylton af68c874a6 Add const to several API functions that take char *. 21 years ago
Raymond Hettinger e6c470f255 SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior. 21 years ago
Tim Peters ead8b7ab30 SF 1055820: weakref callback vs gc vs threads 22 years ago
Fred Drake 6d3265dab6 Be more careful about maintaining the invariants; it was actually 22 years ago
Neal Norwitz bdcb9410c2 SF bug #978308, Spurious errors taking bool of dead pro 22 years ago
Fred Drake 0a4dd390bf Make weak references subclassable: 22 years ago
Fred Drake bc875f5a36 Allocating a new weakref object can cause existing weakref objects for 23 years ago
Fred Drake 6a2852cd48 Fix bug in interpretation of the "callback" argument in the constructors for 23 years ago
Tim Peters 403a203223 SF bug 839548: Bug in type's GC handling causes segfaults. 23 years ago
Fred Drake fe89cc186c Remove proxy_print(), since that caused an inconsistency between 23 years ago
Raymond Hettinger d693a81595 Fix SF 762891: "del p[key]" on proxy object raises SystemError() 23 years ago
Guido van Rossum c1f6e8cbc1 - The repr() of a weakref object now shows the __name__ attribute of 23 years ago
Fred Drake f16c3dc81b Add support for the iterator protocol to weakref proxy objects. 24 years ago
Neil Schemenauer 38a8916134 Remove weakref free list. This has the side effect of fixing a memory 25 years ago
Fred Drake 2a908f6b7b proxy_compare(): Make sure that we unwrap both objects being compared if 25 years ago
Fred Drake ef8ebd1e74 Make sure that when we invoke callback functions associated with weak 25 years ago
Barry Warsaw d586756dc5 weakref_repr(), proxy_repr(): Conversion of sprintf() to 25 years ago
Marc-André Lemburg d4c0a9c59b Fixes for possible buffer overflows in sprintf() usages. 25 years ago
Jeremy Hylton 996fad315c Referencable is not a word, so don't use it in an error message <wink>. 25 years ago
Fred Drake 31f4d1fa4b Remove an unnecessary check for NULL. 25 years ago
Fred Drake 73006d0237 When weakref proxies are involved in binary & ternary slot operations, 25 years ago
Fred Drake 8844d5264f The weak reference implementation, separated from the weakref module. 25 years ago
Neil Schemenauer e83c00efd0 Use new GC API. 25 years ago
Fred Drake 7fdc0a1835 Use METH_O where possible (two functions). This does not lead to real 25 years ago
Fred Drake 9b03e59deb Remove an obsolete comment and a "return" before fallig off the end of a 25 years ago
Fred Drake 2a5a5ca012 cleanup_helper(): Make sure we invalidate all reference objects 26 years ago
Tim Peters a5d7b748d9 Revert the 1.8 patch, since it's implicated in nasty blowups (see Pyhon-Dev). 26 years ago
Fred Drake 82f1480d63 Inform the cycle-detector that the a weakref object no longer needs to be 26 years ago
Martin v. Löwis 5e1633365d Patch #403985: Add support for weak-keyed dictionaries 26 years ago
Fred Drake 32efcdbceb cleanup_helper(): Added missing "void" type for the function, updated 26 years ago
Fred Drake b60654bc15 The return value from PyObject_ClearWeakRefs() is no longer meaningful, 26 years ago
Fred Drake 7855aba6bb Move docstrings out of function table to constants defined near the 26 years ago
Tim Peters 231e22facb Repair legit compiler warning. 26 years ago
Tim Peters 747d5b63db Teach Windows build about the _weakref module. 26 years ago
Fred Drake 41deb1efc2 PEP 205, Weak References -- initial checkin. 26 years ago