Mark Summerfield <m...@qtrac.eu> added the comment:

I think that BooleanVar.set(x) should do bool(x) on its argument (and raise an 
exception if this isn't valid) and BooleanVar.get() should return a bool. 
Similarly I think that IntVar.set(x) should do int(x) and IntVar.get() should 
return an int, and that DoubleVar.set(x) should do float(x) and should return a 
float.

I will mention this issue on tkinter-discuss and encourage people to comment.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue15133>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to