Message163747
| 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:43 | mark | set | recipients:
+ mark, terry.reedy, gpolo, roger.serwy |
| 2012年06月24日 07:36:43 | mark | set | messageid: <1340523403.11.0.738776452991.issue15133@psf.upfronthosting.co.za> |
| 2012年06月24日 07:36:42 | mark | link | issue15133 messages |
| 2012年06月24日 07:36:42 | mark | create |
|