This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark
Recipients gpolo, mark, roger.serwy, terry.reedy
Date 2012-06-24.07:36:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1340523403.11.0.738776452991.issue15133@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2012-06-24 07:36:43marksetrecipients: + mark, terry.reedy, gpolo, roger.serwy
2012-06-24 07:36:43marksetmessageid: <1340523403.11.0.738776452991.issue15133@psf.upfronthosting.co.za>
2012-06-24 07:36:42marklinkissue15133 messages
2012-06-24 07:36:42markcreate