Tal Einat <taleinat+pyt...@gmail.com> added the comment:

> 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.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue40452>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to