summaryrefslogtreecommitdiffstats
path: root/Lib/test/leakers
Commit message (Collapse)AuthorAgeFilesLines
* This test no longer leaks, and test_generators sufficiently tests it toThomas Wouters2006-04-161-25/+0
| | | | prevent unreported regression.
* Add missing DECREF to PyErr_WriteUnraisable(). That function reportsThomas Wouters2006-04-151-19/+0
| | | | | | | | | | | exceptions that can't be raised any further, because (for instance) they occur in __del__ methods. The coroutine tests in test_generators was triggering this leak. Remove the leakers' testcase, and add a simpler testcase that explicitly tests this leak to test_generators. test_generators now no longer leaks at all, on my machine. This fix may also solve other leaks, but my full refleakhunting run is still busy, so who knows?
* Whitespace normalization.Tim Peters2006-04-141-16/+16
|
* Show case: reference cycles involving only the ob_type field are ratherArmin Rigo2006-04-141-0/+13
| | | | uncommon but possible. Inspired by SF bug 1469629.
* Restore test tee with some modifications.Neal Norwitz2006-04-141-0/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | The test case came from test_generators, not test_itertools. Ensure there's no cyclic garbage we are counting. This is weird because it leaks, then reaches a limit: python.exe -i test_tee.py >>> leak() 0 [26633 refs] >>> leak() 0 [26658 refs] >>> leak() 0 [26683 refs] >>> leak() 0 [26708 refs] >>> leak() 0 [26708 refs] >>> leak() 0 [26708 refs] >>> leak() 0
* Update notes to address cyclic garbage and what should happen when a test is ↵Neal Norwitz2006-04-141-0/+13
| | | | fixed.
* Remove tests that no longer leak. There is still one leaking generator testNeal Norwitz2006-04-133-30/+19
|
* whitespace normalisationAnthony Baxter2006-03-301-1/+0
|
* Add an example of a generator->freevar->cell->generator reference-cycle thatThomas Wouters2006-03-281-0/+11
| | | | doesn't get cleaned up and thus leaks.
* Oops, copied the wrong code from keeprefs. Get the right codeNeal Norwitz2006-03-171-4/+9
| | | | | | this time and call gc.collect(), since there is some garbage. The original code didn't really leak (if gc.collect() was called).
* Update/expand on comments about leaking tests.Neal Norwitz2006-03-171-0/+1
|
* Ignore ctypes leaks, but add a test case so we do not forget.Neal Norwitz2006-03-171-0/+11
|
* Fix mismatch opening and closing quotes on a string.Brett Cannon2006-03-021-2/+1
|
* Add a note about removing the file once the bug is fixedNeal Norwitz2006-02-281-1/+2
|
* Gave README a .txt extension.Tim Peters2006-02-281-0/+0
|
* Add directory which contains known ref leaks. Some of these are likely to ↵Neal Norwitz2006-02-284-0/+52
be system dependent (like test_gestalt).