summaryrefslogtreecommitdiff
path: root/Lib/test/test_weakref.py
AgeCommit message (Expand)AuthorLines
2010-01-08Reverting the Revision: 77368. I committed Flox's big patch for tests bySenthil Kumaran-20/+17
2010-01-08Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ...Senthil Kumaran-17/+20
2009-11-19#5037 proxy __unicode__ correctlyBenjamin Peterson-0/+11
2009-06-30convert usage of fail* to assert*Benjamin Peterson-105/+105
2008-09-09Fix #3634 invalid return value from _weakref.ref(Exception).__init__Benjamin Peterson-0/+8
2008-06-16Issue 3110: Crash with weakref subclass,Amaury Forgeot d'Arc-1/+40
2008-05-20#2592: delegate nb_index and the floor/truediv slots in weakref.proxy.Georg Brandl-1/+22
2007-01-23Fix crasher for when an object's __del__ creates a new weakref to itself.Brett Cannon-0/+14
2006-12-12Fix typo.Walter Dörwald-1/+1
2006-05-28("Forward-port" of r46506)Armin Rigo-2/+2
2006-05-02SF #1479988: add methods to allow access to weakrefs for theFred Drake-0/+44
2005-07-02Add doctest for examples in libweakref.tex to test_weakref.Georg Brandl-0/+86
2005-03-27SF bug #1770766: weakref proxy has incorrect __nonzero__ behavior.Raymond Hettinger-0/+6
2004-07-08SF bug #978308, Spurious errors taking bool of dead proNeal Norwitz-0/+1
2004-07-02Make weak references subclassable:Fred Drake-0/+66
2004-06-02Rename class attribute containing the class to be tested, so the name is theWalter Dörwald-2/+2
2004-05-31Port the dictionary tests from test_types.py to unittest. Collect as muchWalter Dörwald-3/+3
2004-02-13further testing indicates that the simplified version of the testFred Drake-4/+6
2004-02-12use existing test object instead of defining a new classFred Drake-5/+3
2004-02-12Replace backticks with repr() or "%r"Walter Dörwald-1/+1
2004-02-04Allocating a new weakref object can cause existing weakref objects forFred Drake-0/+32
2004-02-03- add tests that exercise fixes for the PyWeakref_NewRef() andFred Drake-0/+41
2003-12-11Add tests to test_weakref.py to bring code coverage in _weakref.c up to 100%.Walter Dörwald-0/+8
2003-11-20SF bug 839548: Bug in type's GC handling causes segfaults.Tim Peters-0/+205
2003-11-16* Migrate set() and frozenset() from the sandbox.Raymond Hettinger-2/+1
2003-11-13subtype_dealloc(): A more complete fix for critical bug 840829 +Tim Peters-0/+19
2003-11-12SF bug 840829: weakref callbacks and gc corrupt memory.Tim Peters-0/+20
2003-07-14stylistic nits:Fred Drake-6/+8
2003-06-30Fix SF 762891: "del p[key]" on proxy object raises SystemError()Raymond Hettinger-0/+11
2003-05-25Fleshed out WeakKeyDictionary.__delitem__ NEWS to cover issues raised onTim Peters-2/+10
2003-05-25SF 742860: WeakKeyDictionary __delitem__ uses iterkeysTim Peters-0/+51
2003-05-02Used sets.Set() to compare unordered sequences.Raymond Hettinger-3/+2
2003-05-01Combine the functionality of test_support.run_unittest()Walter Dörwald-6/+6
2003-03-09SF patch #667730: More DictMixinRaymond Hettinger-0/+17
2002-08-22Standardize behavior: no docstrings in test functions. Also useGuido van Rossum-6/+4
2002-07-23Get rid of relative imports in all unittests. Now anything thatBarry Warsaw-1/+1
2002-06-10SF patch 564549 (Erik Andersén).Guido van Rossum-0/+11
2002-04-11Improve coverage of Objects/weakrefobject.c.Fred Drake-0/+16
2001-12-19Add some additional tests that check more proxy behaviors.Fred Drake-0/+18
2001-12-10Regression test for SF bug #478534 -- exceptions could "leak" into a weakrefFred Drake-0/+25
2001-11-06Add a regression test for SF bug #478536: If a value cannot be weaklyFred Drake-1/+5
2001-10-18Add a test for calling a weakref proxy with a dictionary of keyword args.Fred Drake-0/+3
2001-10-18Make sure we do not core dump when using proxies with the binary slotFred Drake-0/+8
2001-09-20Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake-3/+11
2001-09-06Added tests for key deletion for both Weak*Dictionary flavors.Fred Drake-0/+22
2001-08-03Make sure that WeakValueDictionary[] raises KeyError instead of TypeErrorFred Drake-0/+5
2001-05-10Extend the weakref test suite to cover the complete mapping interface forFred Drake-4/+61
2001-05-02Added tests for Weak*Dictionary iterator support.Fred Drake-10/+54
2001-04-16Add a test case for Weak*Dictionary.update() that would have caught aFred Drake-0/+25
2001-04-13Added regression test for SF bug #415660 (failure to invalidate allFred Drake-5/+24