]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.12] gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960) ...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Wed, 18 Oct 2023 09:05:08 +0000 (11:05 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 09:05:08 +0000 (09:05 +0000)
commitb8ce5d9c172c7c78b4e97a37f76abae48fb71ef5
treec632d19080aeb74485dc1ac8abdebb157be572cf
parent577a8fb72ba182dd2984b66fa8a79ede67bb95e6
[3.12] gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960) (#111026)

gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960)

Add comments where .keys() is needed.
Leave debugger usages along because situation is unclear as indicated in expanded comment.
Most testing is manual.
(cherry picked from commit baefbb21d91db2d950706737a6ebee9b2eff5c2d)

Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
Lib/idlelib/config.py
Lib/idlelib/configdialog.py
Lib/idlelib/debugger.py
Lib/idlelib/debugobj.py
Lib/idlelib/idle_test/test_config.py
Lib/idlelib/idle_test/test_debugobj.py
Lib/idlelib/pyshell.py
Lib/idlelib/stackviewer.py