[Python-3000] refleaks

Neal Norwitz nnorwitz at gmail.com
Tue Apr 1 09:41:40 CEST 2008


I fixed the itertools refleak.

test_compile leaks due to code like this:

class J:
  def foo():
    class Bar: pass

I thought Amaury fixed that problem already?

n

On Mon, Mar 31, 2008 at 9:25 PM, Neal Norwitz <nnorwitz at gmail.com> wrote:
> The current refleaks for 3k are:
>
>  test_compile leaked [10, 10, 10] references, sum=30
>  test_io leaked [21, 21, 21] references, sum=63
>  test_itertools leaked [4, 4, 4] references, sum=12
>  test_queue leaked [995, 996, 996] references, sum=2987
>
>  When running the refleak hunter, 4 tests failed:
>     test_codecs test_collections test_profile test_tcl
>
>  test_tcl can't run properly IIRC, but I think the other 3 should be
>  able to run with -R.
>
>  n
>


More information about the Python-3000 mailing list