[issue19034] More useful repr for Tcl_Obj

2013-09-23 Thread Serhiy Storchaka
Changes by Serhiy Storchaka storch...@gmail.com: -- assignee: - serhiy.storchaka resolution: - fixed stage: patch review - committed/rejected status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19034

[issue19034] More useful repr for Tcl_Obj

2013-09-23 Thread Roundup Robot
Roundup Robot added the comment: New changeset ece634a69ba8 by Serhiy Storchaka in branch 'default': Issue #19034: repr() for tkinter.Tcl_Obj now exposes string reperesentation. http://hg.python.org/cpython/rev/ece634a69ba8 -- nosy: +python-dev ___

[issue19034] More useful repr for Tcl_Obj

2013-09-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: This looks more useful to me; it might make tests easier. But I cannot be sure no one would object. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19034

[issue19034] More useful repr for Tcl_Obj

2013-09-21 Thread Raymond Hettinger
Raymond Hettinger added the comment: +1 -- nosy: +rhettinger ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19034 ___ ___ Python-bugs-list mailing

[issue19034] More useful repr for Tcl_Obj

2013-09-16 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Currently the repr() for Tcl_Obj is not very useful. It exposes only Tcl type name and Tcl object address. import tkinter.ttk tv = tkinter.ttk.Treeview() tv.tag_configure('test', foreground='blue') {} str(tv.tag_configure('test', 'foreground')) 'blue'