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

Note that Tcl/Tk once had exactly the same issue on Windows, and they added 
specific code to "render" to the clipboard upon exit if the current app is the 
"clipboard owner".

https://core.tcl-lang.org/tk/tktview/732662

This was fixed here:

https://core.tcl-lang.org/tk/tktview/939389

Note that Tcl/Tk has separate OS-specific implementations of "TkClipCleanup" 
for Windows, macOS and "Unix".

https://github.com/tcltk/tk/search?q=TkClipCleanup

This only appears to be called by TkCloseDisplay, which is turn is never called 
elsewhere in the Tk codebase. tkinter never appears to call either of those 
functions. Perhaps this is the core issue?

----------

_______________________________________
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