Oct. 12, 2000
7:59 p.m.
Jeremy Hylton writes:
Why is test_minidom producing all this output? And why is it only happening intermittently?
It isn't. See Neil's excellent explanation.
Why does regrtest.py think that test_minidom is working correctly when it produces all this output?
The test is passing just fine, and is complete before the test for garbage is performed. The unlink() method on DOM objects is the culprit; it is updating the Node.allnodes dictionary correctly, but not the Node instances. I've already asked Paul & Lars to fix this; it should work just fine with or without GC once they've seen the report. -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member