[issue39472] IDLE: improve handling of int entry in settings dialog
Terry J. Reedy
report at bugs.python.org
Mon Jan 27 18:34:59 EST 2020
New submission from Terry J. Reedy <tjreedy at udel.edu>:
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.
----------
assignee: terry.reedy
components: IDLE
messages: 360821
nosy: terry.reedy
priority: normal
severity: normal
stage: test needed
status: open
title: IDLE: improve handling of int entry in settings dialog
type: behavior
versions: Python 3.9
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39472>
_______________________________________
More information about the Python-bugs-list
mailing list