Message222549
Here is a patch.
1) getboolean() and BooleanVar.get() now always return bool. Wrapping the result of getboolean() into bool() is not more needed.
2) getboolean() and BooleanVar.get() now works with Tcl_Obj. This makes Tkinter more robust against future Tcl/Tk changes.
3) An exception is raised if an argument to BooleanVar.set() couldn't be considered as boolean value. An argument is converted to canonized 0/1 values. This makes errors to be exposed earlier.
Similar changes should be made for getint() and getdouble(). |
|
Date |
User |
Action |
Args |
2014-07-08 07:54:40 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, terry.reedy, klappnase, mark, gpolo, roger.serwy, asvetlov, zach.ware, crickert |
2014-07-08 07:54:39 | serhiy.storchaka | set | messageid: <1404806079.96.0.106237497412.issue15133@psf.upfronthosting.co.za> |
2014-07-08 07:54:39 | serhiy.storchaka | link | issue15133 messages |
2014-07-08 07:54:39 | serhiy.storchaka | create | |
|