Re: [Python-3000] refleaks

2008-04-01 Thread Neal Norwitz
On Tue, Apr 1, 2008 at 12:58 AM, Amaury Forgeot d'Arc <[EMAIL PROTECTED]> wrote: > On Tue, Apr 1, 2008 at 9:41 AM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > I fixed the itertools refleak. > > > > test_compile leaks due to code like this: > > > > class J: > > def foo(): > > class Ba

Re: [Python-3000] refleaks

2008-04-01 Thread Amaury Forgeot d'Arc
On Tue, Apr 1, 2008 at 9:41 AM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > 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? http://mail.python.org/pipermail/python-3000-

Re: [Python-3000] refleaks

2008-04-01 Thread Neal Norwitz
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 <[EMAIL PROTECTED]> wrote: > The current refleaks for 3k are: > > test_compile leaked

[Python-3000] refleaks

2008-03-31 Thread Neal Norwitz
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_c

Re: [Python-3000] refleaks and other errors

2007-03-21 Thread Guido van Rossum
Thanks, got it. Found the leak, thanks to gc.get_objects() and your hint about what was leaking in test_grammar. Were you tired when you posted that first msg? It was incredibly terse. :-) Committed revision 54502. --Guido On 3/20/07, Neal Norwitz <[EMAIL PROTECTED]> wrote: > That was mostly the

Re: [Python-3000] refleaks and other errors

2007-03-20 Thread Neal Norwitz
That was mostly the first line of my message, although it was a bit terse. :-) It's just a cmd line option to regrtest.py -R 4:3: Everything else is the same. The way I run it for test_grammar: ./python -E -tt ./Lib/test/regrtest.py -R 4:3: test_grammar You can also pass "-R ::" instead of "-R

Re: [Python-3000] refleaks and other errors

2007-03-20 Thread Guido van Rossum
I'm pretty sure I introduced leaks with the new metaclass code; it was a bit of a rush job and there's plenty of new C code. I need a hint on how to reproduce this myself for a single test... On 3/20/07, Neal Norwitz <[EMAIL PROTECTED]> wrote: > regrtest.py -R 4:3: # on 64-bit, but that might onl

[Python-3000] refleaks and other errors

2007-03-20 Thread Neal Norwitz
regrtest.py -R 4:3: # on 64-bit, but that might only affect the xpickle error test_grammar leaked [14, 14, 14] references test_doctest leaked [84, 84, 84] references test_ctypes leaked [13, 13, 13] references test_descrtut leaked [417, 417, 417] references test_generators leaked [227, 227, 227] r