This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mkiever
Recipients loewis, mkiever, wmula
Date 2008-04-02.11:11:13
SpamBayes Score 0.10294276
Marked as misclassified No
Message-id <1207134675.04.0.307726798965.issue1602742@psf.upfronthosting.co.za>
In-reply-to
Content
I no longer know what I meant with "document string is 
broken".
It is not very clear, but not broken.
It does not specify clearly the return value
in the case of 'without arguments'.

The problem is still present in trunk.
Problem is as far as I understand it:
Some return values from tcl are strings
that may contain spaces (or are even certain to contain 
spaces).
They are nonetheless translated to a Python tuple by
Tcl_SplitList in _tkinter.c.
There is no difference in syntax between tcl lists
and tcl strings (with spaces).
You have to have contextual knowledge to do the right thing.
This knowledge cannot be attached to itemconfigure alone
(for reconstitution of strings) because then information
about whitespace is already lost.
For return values known to be strings _tkinter/TkApp_SplitList
must not be used.

So I think it's a more general bug related to tcl string
return values.
Other Tkinter bugs may have the same explanation.
Don't know how to resolve this without a lot of work.

Matthias.
History
Date User Action Args
2008-04-02 11:11:15mkieversetspambayes_score: 0.102943 -> 0.10294276
recipients: + mkiever, loewis, wmula
2008-04-02 11:11:15mkieversetspambayes_score: 0.102943 -> 0.102943
messageid: <1207134675.04.0.307726798965.issue1602742@psf.upfronthosting.co.za>
2008-04-02 11:11:14mkieverlinkissue1602742 messages
2008-04-02 11:11:13mkievercreate