New submission from Serhiy Storchaka:
Here is a patch which adds more helpful repr for Tkinter widgets. Was
<tkinter.Button object at 0xb6aa6964>
Becomes:
<tkinter.Button object .3070343372.3066782348>
or (if you assigned names to widgets)
<tkinter.Button object .panel.b1>
This is very helpful for debugging.
----------
components: Tkinter
files: tkinter_misc_repr.patch
keywords: patch
messages: 211269
nosy: gpolo, serhiy.storchaka
priority: normal
severity: normal
stage: patch review
status: open
title: Better repr for tkinter widgets
type: enhancement
versions: Python 3.5
Added file: http://bugs.python.org/file34089/tkinter_misc_repr.patch
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue20636>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com