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 terry.reedy
Recipients terry.reedy
Date 2020-01-27.23:34:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1580168099.75.0.367298873438.issue39472@roundup.psfhosted.org>
In-reply-to
Content
Spinoff from #31414, about int entry fields.  It claims: Note: a deeper problem is attaching a tracer that get called with each keystroke.  Using a StringVar avoids the error when the entry is blanked, but currently allows non-ints to be saved.  A better solution would be to not do the auto tracing, but use a IntVar and only call var_changed when the user 'leaves' the box, after checking for a count in a sane range.

Verify claim and proposed solution.
History
Date User Action Args
2020-01-27 23:34:59terry.reedysetrecipients: + terry.reedy
2020-01-27 23:34:59terry.reedysetmessageid: <1580168099.75.0.367298873438.issue39472@roundup.psfhosted.org>
2020-01-27 23:34:59terry.reedylinkissue39472 messages
2020-01-27 23:34:59terry.reedycreate