Message393790
> What if register Tcl_Finalize as an atexit callback?
Precisely that was tried a long time ago (2002?) and decided against, as can be seen by the comment left behind at the end of _tkinter.c:
#if 0
/* This was not a good idea; through <Destroy> bindings,
Tcl_Finalize() may invoke Python code but at that point the
interpreter and thread state have already been destroyed! */
Py_AtExit(Tcl_Finalize);
#endif |
|
Date |
User |
Action |
Args |
2021-05-17 07:54:34 | taleinat | set | recipients:
+ taleinat, terry.reedy, serhiy.storchaka, eryksun, pablogsal, epaine, Spacekiwigames |
2021-05-17 07:54:34 | taleinat | set | messageid: <1621238074.3.0.279450414179.issue40452@roundup.psfhosted.org> |
2021-05-17 07:54:34 | taleinat | link | issue40452 messages |
2021-05-17 07:54:34 | taleinat | create | |
|