homepage

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 serhiy.storchaka
Recipients asvetlov, crickert, gpolo, klappnase, mark, roger.serwy, serhiy.storchaka, terry.reedy, zach.ware
Date 2014年07月08日.07:54:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1404806079.96.0.106237497412.issue15133@psf.upfronthosting.co.za>
In-reply-to
Content
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().
History
Date User Action Args
2014年07月08日 07:54:40serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, klappnase, mark, gpolo, roger.serwy, asvetlov, zach.ware, crickert
2014年07月08日 07:54:39serhiy.storchakasetmessageid: <1404806079.96.0.106237497412.issue15133@psf.upfronthosting.co.za>
2014年07月08日 07:54:39serhiy.storchakalinkissue15133 messages
2014年07月08日 07:54:39serhiy.storchakacreate

AltStyle によって変換されたページ (->オリジナル) /