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 goyodiaz, serhiy.storchaka
Date 2016-10-24.14:13:44
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1477318425.71.0.276317261348.issue27939@psf.upfronthosting.co.za>
In-reply-to
Content
This is caused by replacing int() by self._tk.getint() in IntVar.get() (issue23880). But the failure can be reproduced even in 3.4 if set tk.wantobjects = 0 before creating root widget.

One way is making getint() accepting floats. This fizes original example, but doesn't solve the issue for tk.wantobjects = 0.

Other way is making IntVar.get() falling back to integer part of getdouble(). This fixes the example in both modes. Proposed patch goes this way.
History
Date User Action Args
2016-10-24 14:13:45serhiy.storchakasetrecipients: + serhiy.storchaka, goyodiaz
2016-10-24 14:13:45serhiy.storchakasetmessageid: <1477318425.71.0.276317261348.issue27939@psf.upfronthosting.co.za>
2016-10-24 14:13:45serhiy.storchakalinkissue27939 messages
2016-10-24 14:13:45serhiy.storchakacreate