[issue1414] Fix for refleak tests

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: The bug report for test_tcl is at http://bugs.python.org/issue1532 -- resolution: -> accepted status: open -> closed __ Tracker <[EMAIL PROTECTED]> __

[issue1414] Fix for refleak tests

2007-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: Can you open a separate item for the Tkinter leak so you can close this one? __ Tracker <[EMAIL PROTECTED]> __ ___ Py

[issue1414] Fix for refleak tests

2007-11-30 Thread Christian Heimes
Christian Heimes added the comment: I don't know how to fix the problem. You have to assign the bug to somebody who has experience with Tcl/Tk. __ Tracker <[EMAIL PROTECTED]> __ ___

[issue1414] Fix for refleak tests

2007-11-30 Thread Guido van Rossum
Guido van Rossum added the comment: ping? __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailm

[issue1414] Fix for refleak tests

2007-11-12 Thread Guido van Rossum
Guido van Rossum added the comment: If that makes the test pass with and without -R::, go for it! On Nov 12, 2007 11:14 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > > Christian Heimes added the comment: > > How do you like; > > class TestPkg(unittest.TestCase): > > def setUp(self): >

[issue1414] Fix for refleak tests

2007-11-12 Thread Christian Heimes
Christian Heimes added the comment: Fix for test_frozen comitted in r58953 __ Tracker <[EMAIL PROTECTED]> __ ___ Python-bugs-list mailing list Unsubscri

[issue1414] Fix for refleak tests

2007-11-12 Thread Christian Heimes
Christian Heimes added the comment: How do you like; class TestPkg(unittest.TestCase): def setUp(self): self.root = None self.syspath = list(sys.path) self.sysmodules = sys.modules.copy() def tearDown(self): sys.path[:] = self.syspath sys.modules

[issue1414] Fix for refleak tests

2007-11-12 Thread Guido van Rossum
Guido van Rossum added the comment: Please check in the frozen-related fixes. Your changes to test_tcl break that test even when run without -R! For test_pkg, I would rather see a fix that undoes all the changes to sys.modules (note that it already restores sys.path and deletes the files it's c

[issue1414] Fix for refleak tests

2007-11-09 Thread Christian Heimes
Christian Heimes added the comment: Here is a version of test_freeze that doesn't depend on stdout output on load. Added file: http://bugs.python.org/file8721/py3k_reftestfix2.patch __ Tracker <[EMAIL PROTECTED]> ___

[issue1414] Fix for refleak tests

2007-11-09 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, I was hoping more for patches to the C code that would make these initializations reentrant (e.g. by testing a flag in C that says "I'm already initialized"). __ Tracker <[EMAIL PROTECTED]>

[issue1414] Fix for refleak tests

2007-11-09 Thread Christian Heimes
New submission from Christian Heimes: The patch prevents some tests from running multiple times in a test session. Added file: http://bugs.python.org/file8720/py3k_reftestfix.patch __ Tracker <[EMAIL PROTECTED]>

[issue1414] Fix for refleak tests

2007-11-09 Thread Christian Heimes
Changes by Christian Heimes: -- assignee: gvanrossum keywords: patch, py3k nosy: gvanrossum, tiran priority: low severity: normal status: open title: Fix for refleak tests versions: Python 3.0 __ Tracker <[EMAIL PROTECTED]>