[issue40452] Tkinter/IDLE: preserve clipboard on closure
Terry J. Reedy
report at bugs.python.org
Sun May 16 15:53:58 EDT 2021
Terry J. Reedy <tjreedy at udel.edu> added the comment:
Can we backport? The change to _tkinter, not directly exposed in tkinter, could be considered an enhancement, but is necessary to fix what I consider a real bug in tkinter, and hence in IDLE.
Pablo, would you allow the _tkinter change in .0b2?
If we cannot backport the _tkinter change, can the tcl function be accessed through root.tk.call('????')? I am guessing that 'exit' exits the process from tcl, which is probably not what we want.
https://www.tcl.tk/man/tcl8.6/TclLib/Exit.htm
suggests that when tcl is loaded as an extention, Tcl_Finalize should be called instead of Tcl_Exit to *not* exit the process.
----------
nosy: +pablogsal
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue40452>
_______________________________________
More information about the Python-bugs-list
mailing list