Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-06-06 Thread Tim Peters
[Tim, gets different results across whole runs of python_d ../Lib/test/regrtest.py -R 2:40: test_filecmp test_exceptions ] I think I found the cause for test_filecmp giving different results across runs, at least on Windows. It appears to be due to this test line:

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-06-06 Thread Martin v. Löwis
Tim Peters wrote: and filecmp contains a module-level _cache with a funky scheme for avoiding file comparisons if various os.stat() values haven't changed. But st_mtime on Windows doesn't necessarily change when a file is modified -- it has limited resolution (2 seconds on FAT32, and I'm

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-06-05 Thread Tim Peters
[moving to python-dev] [Tim, gets different results across whole runs of python_d ../Lib/test/regrtest.py -R 2:40: test_filecmp test_exceptions ] Does that make any sense? Not to me -- I don't know of a clear reason other than wild loads/stores for why such runs should ever differ.

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-04-27 Thread Neal Norwitz
On 4/22/06, Tim Peters [EMAIL PROTECTED] wrote: [19 Apr 2006, Neal Norwitz] test_cmd_line leaked [0, 17, -17] references test_filecmp leaked [0, 13, 0] references test_threading_local leaked [-93, 0, 0] references test_urllib2 leaked [-121, 88, 99] references Thanks to Thomas digging

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-04-27 Thread Tim Peters
[Neal Norwitz] ... I have disabled the leak warning for: LEAKY_TESTS=test_(cmd_line|ctypes|filecmp|socket|threadedtempfile|threading|urllib2) This is an attempt to reduce the spam. Would people rather me reduce this list so we can try to find the problems? The test runs 2 times per day.

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-04-22 Thread Tim Peters
[19 Apr 2006, Neal Norwitz] test_cmd_line leaked [0, 17, -17] references test_filecmp leaked [0, 13, 0] references test_threading_local leaked [-93, 0, 0] references test_urllib2 leaked [-121, 88, 99] references Thanks to Thomas digging into test_threading_local, I checked in what appeared

Re: [Python-Dev] [Python-checkins] Python Regression Test Failures refleak (1)

2006-03-14 Thread Tim Peters
[Thomas Wouters] I did the same narrowing-down last week, and submitted a patch to add cycle-GC support to itertools.tee . It really needs it. I agree. Come to think of it, now that I remember how to properly do GC, I think the patch cuts some corners, but it solved the problem. You mean