STINNER Victor <vstin...@python.org> added the comment:

> Fixing OS graphics or tk is out of scope for us.  Preventing hangs or crashes 
> when using tkinter is.  On Mac, refusing to insert any astral char into a tk 
> widget might be the best solution.  Serhiy, could that be done in 
> tkinter/_tkinter?

I dislike attempting to workaround Tk issues in Python. As you can see, the 
behavior really depends on the platform. As I wrote, on Fedora 32 it works (the 
character is rendered properly). I would prefer to not block such character on 
Fedora 32 because it does crash on some other platforms.

Or you should detect the very precise conditions explaining why it works on 
some platforms and crash on some other platforms...

----------

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

Reply via email to