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 taleinat
Recipients Spacekiwigames, epaine, eryksun, gvanrossum, pablogsal, serhiy.storchaka, taleinat, terry.reedy
Date 2021-05-17.11:47:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1621252021.92.0.273430174343.issue40452@roundup.psfhosted.org>
In-reply-to
Content
> Tcl_Finalize can be called more than once, says the tcl doc.

I take that to mean that when calling Tcl_Finalize more than once, the second and following calls will do nothing rather than crash the process, corrupt memory etc.

The Tcl docs are quite clear that Tcl is no longer usable after calling Tcl_Finalize.  Therefore, E. Paine's latest comment appears to be correct in the sense that we can't call Tcl_Finalize when cleaning up a tkinter.Tk instance.  The same goes for Tcl_FinalizeThread.
History
Date User Action Args
2021-05-17 11:47:01taleinatsetrecipients: + taleinat, gvanrossum, terry.reedy, serhiy.storchaka, eryksun, pablogsal, epaine, Spacekiwigames
2021-05-17 11:47:01taleinatsetmessageid: <1621252021.92.0.273430174343.issue40452@roundup.psfhosted.org>
2021-05-17 11:47:01taleinatlinkissue40452 messages
2021-05-17 11:47:01taleinatcreate