diff options
author | Tim Peters <tim.peters@gmail.com> | 2006-02-28 19:05:29 (GMT) |
---|---|---|
committer | Tim Peters <tim.peters@gmail.com> | 2006-02-28 19:05:29 (GMT) |
commit | dfc240450c5ed61db919023a02af4459225f3cc4 (patch) | |
tree | e1fb8d4836f629e016ff1625919a934e75cbddee /Lib/test/leakers/README.txt | |
parent | 34aa7ba11431a46e72ec30ee7528f2e52adbed7f (diff) | |
download | cpython-dfc240450c5ed61db919023a02af4459225f3cc4.zip cpython-dfc240450c5ed61db919023a02af4459225f3cc4.tar.gz cpython-dfc240450c5ed61db919023a02af4459225f3cc4.tar.bz2 |
Gave README a .txt extension.
Diffstat (limited to 'Lib/test/leakers/README.txt')
-rw-r--r-- | Lib/test/leakers/README.txt | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/Lib/test/leakers/README.txt b/Lib/test/leakers/README.txt new file mode 100644 index 0000000..801ed95 --- /dev/null +++ b/Lib/test/leakers/README.txt @@ -0,0 +1,18 @@ +This directory contains test cases that are known to leak references. +The idea is that you can import these modules while in the interpreter +and call the leak function repeatedly. This will only be helpful if +the interpreter was built in debug mode. If the total ref count +doesn't increase, the bug has been fixed. + +Here's an example interpreter session for test_gestalt which still leaks: + +>>> from test.leakers.test_gestalt import leak +[24275 refs] +>>> leak() +[28936 refs] +>>> leak() +[28938 refs] +>>> leak() +[28940 refs] +>>> + |