Serhiy Storchaka added the comment:
Patch updated to tip and added test.
Terry, do you think this patch should be applied to maintenance release? It
change a behavior. However current behavior doesn't look desirable.
--
Added file:
Changes by Serhiy Storchaka storch...@gmail.com:
--
assignee: - serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6160
___
___
Serhiy Storchaka added the comment:
I withdraw my previous comment because the bbox command newer returns empty
result. The patch LGTM.
--
versions: +Python 3.3, Python 3.4 -Python 3.1, Python 3.2
___
Python tracker rep...@bugs.python.org
Serhiy Storchaka added the comment:
It should be self._getints(...) or None as in other methods.
--
nosy: +serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue6160
___
Terry J. Reedy tjre...@udel.edu added the comment:
I believe that for 3.x, Lib/lib-tk/Tkinter.py is not Lib/tkinter/__init__.py. I
will put this on my list of issues to look at if possible.
--
nosy: +terry.reedy
___
Python tracker
Mark Lawrence breamore...@yahoo.co.uk added the comment:
The patch is simple, can it be committed as is?
--
nosy: +BreamoreBoy
stage: - patch review
type: - behavior
versions: +Python 3.2
___
Python tracker rep...@bugs.python.org
New submission from Guilherme Polo ggp...@gmail.com:
The current bbox method for Tkinter.Spinbox is very likely to never
return a tuple. The attached patch uses _getints to always return a
tuple of integers.
The other changes in the patch are about removing unneeded return
statements.