[Python-3000] Leaks in py3k-pep3137 branch

Guido van Rossum guido at python.org
Tue Nov 6 21:15:59 CET 2007


Three tests fail when run with "regrtest.py -R::"

test_frozen
beginning 9 repetitions
123456789
test test_frozen failed -- Traceback (most recent call last):
  File "/usr/local/google/home/guido/python/py3kd/Lib/test/test_frozen.py",
line 36, in test_frozen
    'Hello world...\nHello world...\nHello world...\n')
AssertionError: '' != 'Hello world...\nHello world...\nHello world...\n'

test_pkg
beginning 9 repetitions
123456789
test test_pkg failed -- errors occurred; run in verbose mode for details
test_tcl
beginning 9 repetitions
123456789
test test_tcl failed -- Traceback (most recent call last):
  File "/usr/local/google/home/guido/python/py3kd/Lib/test/test_tcl.py",
line 125, in testLoadTk
    tcl.loadtk()
  File "/usr/local/google/home/guido/python/py3kd/Lib/lib-tk/Tkinter.py",
line 1641, in loadtk
    self.tk.loadtk()
_tkinter.TclError: Calling Tk_Init again after a previous call failed
might deadlock

3 tests failed:
    test_frozen test_pkg test_tcl
[86614 refs]


Three tests (or the set run by default on Linux) have leaks:

test_ctypes
beginning 9 repetitions
123456789
.........
test_pipes
beginning 9 repetitions
123456789
.........
test_pipes leaked [0, 0, 0, 33] references, sum=33
test_sqlite
beginning 9 repetitions
123456789
.........
test_sqlite leaked [325, 325, 325, 325] references, sum=1300
test_urllib2_localnet
beginning 9 repetitions
123456789
.........
test_urllib2_localnet leaked [3, 3, 3, -7] references, sum=2
All 3 tests OK.
[122668 refs]


-- 
--Guido van Rossum (home page: http://www.python.org/~guido/)


More information about the Python-3000 mailing list