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 gpolo
Recipients gpolo
Date 2009-05-31.20:06:09
SpamBayes Score 2.311373e-08
Marked as misclassified No
Message-id <1243800373.79.0.587066766962.issue6157@psf.upfronthosting.co.za>
In-reply-to
Content
Hi,

While testing Tkinter.Text I've found some problems and it would be good
to fix them in trunk.

The methods edit_redo, edit_reset, edit_separator and edit_undo doesn't
return anything, so I would suggest to remove the return statements there.
The debug method doesn't return a boolean when we set a value for the
debug option, so the getboolean function fails:

>>> import Tkinter
>>> text = Tkinter.Text()
>>> text.debug()
False
>>> text.debug(1)
...
_tkinter.TclError: expected boolean value but got ""


I'm also suggesting a change in the bbox signature. Right now it
supports receiving multiple args, but the bbox command in Tcl expects a
single item as the index. I believe it makes more sense to indicate that
it accepts a single argument. An index like '1.0 +1c' needs to either be
passed as '1.0 +1c' or ('1.0', '+1c') (a tuple holding the two parts),
not as '1.0', '+1c' (two arguments).
History
Date User Action Args
2009-05-31 20:06:13gpolosetrecipients: + gpolo
2009-05-31 20:06:13gpolosetmessageid: <1243800373.79.0.587066766962.issue6157@psf.upfronthosting.co.za>
2009-05-31 20:06:12gpololinkissue6157 messages
2009-05-31 20:06:11gpolocreate