From 756dbb0ba779aa2854f82ffde5d0f7b3a3272efc Mon Sep 17 00:00:00 2001 From: CJYKK <59359590+CJYKK@users.noreply.github.com> Date: Mon, 1 May 2023 23:17:56 +0800 Subject: [PATCH 1/2] Clickable Email Make email address clickable in the "About" window (using "mailto:
"). --- Lib/idlelib/help_about.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/idlelib/help_about.py b/Lib/idlelib/help_about.py index a0085a40b980ef..e1e89bed3a5f80 100644 --- a/Lib/idlelib/help_about.py +++ b/Lib/idlelib/help_about.py @@ -91,6 +91,7 @@ def create_widgets(self): email = Label(frame_background, text='email: idle-dev@python.org', justify=LEFT, fg=self.fg, bg=self.bg) email.grid(row=6, column=0, columnspan=2, sticky=W, padx=10, pady=0) + email.bind("", lambda event: webbrowser.open("mailto:idle-dev@python.org")) docs_url = ("https://docs.python.org/%d.%d/library/idle.html" % sys.version_info[:2]) docs = Label(frame_background, text=docs_url, From 28420fda37b3e0136fb7bca15069c53631504df2 Mon Sep 17 00:00:00 2001 From: CJYKK <59359590+CJYKK@users.noreply.github.com> Date: Fri, 5 May 2023 18:25:47 +0800 Subject: [PATCH 2/2] Update Lib/idlelib/help_about.py Co-authored-by: Oleg Iarygin --- Lib/idlelib/help_about.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Lib/idlelib/help_about.py b/Lib/idlelib/help_about.py index e1e89bed3a5f80..807572eaacbb6d 100644 --- a/Lib/idlelib/help_about.py +++ b/Lib/idlelib/help_about.py @@ -91,7 +91,7 @@ def create_widgets(self): email = Label(frame_background, text='email: idle-dev@python.org', justify=LEFT, fg=self.fg, bg=self.bg) email.grid(row=6, column=0, columnspan=2, sticky=W, padx=10, pady=0) - email.bind("", lambda event: webbrowser.open("mailto:idle-dev@python.org")) + email.bind("", lambda event: webbrowser.open("https://discuss.python.org/")) docs_url = ("https://docs.python.org/%d.%d/library/idle.html" % sys.version_info[:2]) docs = Label(frame_background, text=docs_url,