]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 9 Mar 2020 23:45:37 +0000 (16:45 -0700)
committerGitHub <noreply@github.com>
Mon, 9 Mar 2020 23:45:37 +0000 (16:45 -0700)
commitf8345358bcdd276eb470778daf05d343da9f1290
tree149603e8c8f90382f9c4add10bb0d37119871893
parent1695836123609a8ae97f2cfbe180a028dcd650a3
bpo-27115: Use Query subclass for IDLE editor Goto (GH-18871)

Replace tkinter tkSimpleDialog.askinteger with a standard IDLE query dialog.
The new box checks for positivity before returning.
(cherry picked from commit 363fab83b8a0e6d924c7a7c577feec6a2812bb8c)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/NEWS.txt
Lib/idlelib/editor.py
Lib/idlelib/idle_test/test_query.py
Lib/idlelib/query.py
Misc/NEWS.d/next/IDLE/2020-03-09-02-45-12.bpo-27115.8hSHMo.rst [new file with mode: 0644]