]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
GH-122482: Make About IDLE direct discussion to DPO (#122483)
authorTerry Jan Reedy <tjreedy@udel.edu>
Tue, 30 Jul 2024 22:29:52 +0000 (18:29 -0400)
committerGitHub <noreply@github.com>
Tue, 30 Jul 2024 22:29:52 +0000 (18:29 -0400)
Currently, idle-dev@python.org and idle-dev mailing list
serve to collect spam (90+%).  Change About IDLE to direct
discussions to discuss.python.org.  Users are already
doing so.

Lib/idlelib/News3.txt
Lib/idlelib/help_about.py
Misc/NEWS.d/next/IDLE/2024-07-30-18-02-55.gh-issue-122482.TerE0g.rst [new file with mode: 0644]

index 68702ac8fb91572922b2f3b58e7df480dc367bfa..a7a92e97b6c2444ef3a30ddec9a509a617d77f1d 100644 (file)
@@ -4,6 +4,9 @@ Released on 2024-10-xx
 =========================
 
 
+gh-122482: Change About IDLE to direct users to discuss.python.org
+instead of the now unused idle-dev email and mailing list.
+
 gh-78889: Stop Shell freezes by blocking user access to non-method
 sys.stdout.shell attributes, which are all private.
 
index aa1c352897f9e7c137057a8d279a86ac8fbe6cc1..81c65f6264e7b949c9cf558e998e0a83533a4fb1 100644 (file)
@@ -85,15 +85,18 @@ class AboutDialog(Toplevel):
         byline = Label(frame_background, text=byline_text, justify=LEFT,
                        fg=self.fg, bg=self.bg)
         byline.grid(row=2, column=0, sticky=W, columnspan=3, padx=10, pady=5)
-        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)
+
+        forums_url = "https://discuss.python.org"
+        forums = Label(frame_background, text="Python forums: "+forums_url,
+                        justify=LEFT, fg=self.fg, bg=self.bg)
+        forums.grid(row=6, column=0, sticky=W, padx=10, pady=0)
+        forums.bind("<Button-1>", lambda event: webbrowser.open(forums_url))
         docs_url = ("https://docs.python.org/%d.%d/library/idle.html" %
                     sys.version_info[:2])
         docs = Label(frame_background, text=docs_url,
                      justify=LEFT, fg=self.fg, bg=self.bg)
         docs.grid(row=7, column=0, columnspan=2, sticky=W, padx=10, pady=0)
-        docs.bind("<Button-1>", lambda event: webbrowser.open(docs['text']))
+        docs.bind("<Button-1>", lambda event: webbrowser.open(docs_url))
 
         Frame(frame_background, borderwidth=1, relief=SUNKEN,
               height=2, bg=self.bg).grid(row=8, column=0, sticky=EW,
@@ -123,9 +126,7 @@ class AboutDialog(Toplevel):
               height=2, bg=self.bg).grid(row=11, column=0, sticky=EW,
                                          columnspan=3, padx=5, pady=5)
 
-        idle = Label(frame_background,
-                        text='IDLE',
-                        fg=self.fg, bg=self.bg)
+        idle = Label(frame_background, text='IDLE', fg=self.fg, bg=self.bg)
         idle.grid(row=12, column=0, sticky=W, padx=10, pady=0)
         idle_buttons = Frame(frame_background, bg=self.bg)
         idle_buttons.grid(row=13, column=0, columnspan=3, sticky=NSEW)
diff --git a/Misc/NEWS.d/next/IDLE/2024-07-30-18-02-55.gh-issue-122482.TerE0g.rst b/Misc/NEWS.d/next/IDLE/2024-07-30-18-02-55.gh-issue-122482.TerE0g.rst
new file mode 100644 (file)
index 0000000..8a11e73
--- /dev/null
@@ -0,0 +1,2 @@
+Change About IDLE to direct users to discuss.python.org instead of the now
+unused idle-dev email and mailing list.