Serhiy Storchaka added the comment:

> However, while the revision describes how the Python wrapper should behave, I 
> am dubious that tk.call itself returns either a list or a tuple, rather than 
> a string such as '{0 sash}' unless verifed with a test.

This depends on the value of wantobjects. If it is 0, PanedWindow.identify() 
returns a string such as '{0 sash}'. Otherwise it currently returns a pair of 
an integer and a string. But this depends on Tk implementation details. In 
future versions it could return a second item as a Tcl_Obj instead of a string. 
This can be changed even in a Tk bugfix release.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6159>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to