Terry J. Reedy <tjre...@udel.edu> added the comment:
The code I gave above now exits with a clearer message. RuntimeError: No master specified and tkinter is configured to not support default root But now, in 3.10, the master can be specified, so that fnt = font.nametofont('TkFixedFont', root) works. Thank you Serhiy and desmondcheongzx. ---------- resolution: -> fixed stage: patch review -> resolved status: open -> closed _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35728> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com