Re: [Tkinter-discuss] BooleanVar() etc.

2012-06-24 Thread Michael Lange
Hi Mark, Thus spoketh Mark Summerfield unto us on Sun, 24 Jun 2012 08:42:33 +0100: > Hi, > > Right now it is possible to do > > bv = BooleanVar() > bv.set(any_old_rubbish) > b = bv.get() # b is an int not a bool > > I've reported this as a bug and commented that I think that Bool

[Tkinter-discuss] BooleanVar() etc.

2012-06-24 Thread Mark Summerfield
Hi, Right now it is possible to do bv = BooleanVar() bv.set(any_old_rubbish) b = bv.get() # b is an int not a bool I've reported this as a bug and commented that I think that BooleanVar, IntVar, FloatVar, and StringVar should honor the type in their names (i.e., bool, int, float, str