[New-bugs-announce] [issue20636] Better repr for tkinter widgets

Serhiy Storchaka report at bugs.python.org
Sat Feb 15 12:53:01 CET 2014


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 <report at bugs.python.org>
<http://bugs.python.org/issue20636>
_______________________________________


More information about the New-bugs-announce mailing list