Message135113
| 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:50 | vstinner | set | recipients:
+ vstinner, gpolo, python-dev |
| 2011年05月04日 11:05:50 | vstinner | set | messageid: <1304507150.45.0.378527526667.issue11998@psf.upfronthosting.co.za> |
| 2011年05月04日 11:05:48 | vstinner | link | issue11998 messages |
| 2011年05月04日 11:05:48 | vstinner | create |
|