New submission from Serhiy Storchaka <storchaka+cpyt...@gmail.com>:
Currently Font objects have default repr: <tkinter.font.Font object at 0x7fa22c3bd1e0> Since Font is just an object oriented wrapper for font name, and Font objects with the same name are equal, it is worth to show the font name in the repr and do not show an id. <tkinter.font.Font object 'TkDefaultFont'> ---------- components: Tkinter keywords: easy messages: 377603 nosy: serhiy.storchaka priority: normal severity: normal stage: needs patch status: open title: Add __repr__ for Tkinter Font objects type: enhancement versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue41876> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com