]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.11] 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 08:40:39 +0000 (10:40 +0200)
committerGitHub <noreply@github.com>
Wed, 18 Oct 2023 08:40:39 +0000 (08:40 +0000)
commit7c308f4c64dca4093b70b7a5e49f81c4f3679359
tree80ab9d59668b1dbd46468f0b09494b9ef0906d76
parent50d936a125b17ff31b527347c0f4c37aa85efb83
[3.11] gh-103737: IDLE - Remove unneeded .keys() for dict iteration (GH-110960) (#111027)

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