https://github.com/python/cpython/commit/82952e3fe3ad36e481911a32790068d5df680ee7
commit: 82952e3fe3ad36e481911a32790068d5df680ee7
branch: main
author: BA-24 <[email protected]>
committer: serhiy-storchaka <[email protected]>
date: 2026-09-15T16:53:08Z
summary:

gh-91398: Remove the border around the IDLE Shell sidebar (GH-32363)

It was drawn in the window background color and stood out with dark themes.

Co-authored-by: Terry Jan Reedy <[email protected]>

files:
A Misc/NEWS.d/next/IDLE/2026-09-15-16-19-25.gh-issue-91398.PBdiDB.rst
M Lib/idlelib/sidebar.py

diff --git a/Lib/idlelib/sidebar.py b/Lib/idlelib/sidebar.py
index aa19a24e3edef2..577b56324af179 100644
--- a/Lib/idlelib/sidebar.py
+++ b/Lib/idlelib/sidebar.py
@@ -453,7 +453,7 @@ def mkcmd(eventname):
         return "break"
 
     def grid(self):
-        self.canvas.grid(row=1, column=0, sticky=tk.NSEW, padx=2, pady=0)
+        self.canvas.grid(row=1, column=0, sticky=tk.NSEW)
 
     def change_callback(self):
         if self.is_shown:
diff --git 
a/Misc/NEWS.d/next/IDLE/2026-09-15-16-19-25.gh-issue-91398.PBdiDB.rst 
b/Misc/NEWS.d/next/IDLE/2026-09-15-16-19-25.gh-issue-91398.PBdiDB.rst
new file mode 100644
index 00000000000000..9db16c5a74a242
--- /dev/null
+++ b/Misc/NEWS.d/next/IDLE/2026-09-15-16-19-25.gh-issue-91398.PBdiDB.rst
@@ -0,0 +1,2 @@
+Remove the border around the IDLE Shell sidebar, which was drawn in the
+window background color and stood out with dark themes.

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to