New submission from Terry J. Reedy <tjre...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue39472> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com