This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients gpolo, python-dev, vstinner
Date 2011-05-04.11:05:48
SpamBayes Score 4.1363307e-08
Marked as misclassified No
Message-id <1304507150.45.0.378527526667.issue11998@psf.upfronthosting.co.za>
In-reply-to
Content
As suggested by Antoine, here is a patch to call Tcl_Finalize() in test_signal.

You can call create a Tcl/Tk window, destroy it, call _tkinter._finalize(), and then create a new Tcl/Tk window. But call _tkinter._finalize() crashes if there is still a running Tcl/Tk window.

We should add a safety test checking that there is no more running widget. If it is not possible to implement this, the function should only be compiled in debug mode. If it is possible, it would be nice to call _tkinter._finalize() when the last widget is destroyed and/or at Python exit.
History
Date User Action Args
2011-05-04 11:05:50vstinnersetrecipients: + vstinner, gpolo, python-dev
2011-05-04 11:05:50vstinnersetmessageid: <1304507150.45.0.378527526667.issue11998@psf.upfronthosting.co.za>
2011-05-04 11:05:48vstinnerlinkissue11998 messages
2011-05-04 11:05:48vstinnercreate