Hi Michael,

On Tue, 12 Jun 2012 19:04:04 +0200
Michael Lange <klappn...@web.de> wrote:
> Hi,
[snip]
> >>> root.overrideredirect(0.0)
> >>> root.overrideredirect(0L)
> >>> root.overrideredirect(55)
> >>> 
> 
> whereas:
> 
> >>> getboolean(0.0)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python3.1/tkinter/__init__.py", line 328, in getboolean
>     return _default_root.tk.getboolean(s)
> TypeError: must be string, not float
> >>> getboolean(0L)
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/lib/python2.6/lib-tk/Tkinter.py", line 336, in getboolean
>     return _default_root.tk.getboolean(s)
> TypeError: getboolean() argument 1 must be string, not long
> 
> so it actually looks like Tkinter behavior is not fully coherent here.

Shouldn't this count as a bug then?

-- 
Mark Summerfield, Qtrac Ltd, www.qtrac.eu
    C++, Python, Qt, PyQt - training and consultancy
        "Programming in Go" - ISBN 0321774639
            http://www.qtrac.eu/gobook.html
_______________________________________________
Tkinter-discuss mailing list
Tkinter-discuss@python.org
http://mail.python.org/mailman/listinfo/tkinter-discuss

Reply via email to