[issue1160383] digit-only tag values are mishandled in Tkinter
Guilherme Polo
report at bugs.python.org
Tue Sep 16 03:12:37 CEST 2008
Guilherme Polo <ggpolo at gmail.com> added the comment:
I don't see the bug here. items in a Canvas may be named either as id or
as a tag. If you specify items by something that is actually accepted as
an integer ("123" for instance) then it is assumed to refer to a single
item with id 123.
In your case you have an item with id "1", and when you do:
c.find_withtag("123")
Tk tries to find an item with that id, which doesn't exist and returns
an empty tuple.
----------
resolution: -> wont fix
status: open -> closed
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue1160383>
_______________________________________
More information about the Python-bugs-list
mailing list