Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitefba83f

Browse files
[3.12]GH-122482: Make About IDLE direct discussion to DPO (GH-122483) (#122486)
GH-122482: Make About IDLE direct discussion to DPO (GH-122483)Currently, idle-dev@python.org and idle-dev mailing listserve to collect spam (90+%). Change About IDLE to directdiscussions to discuss.python.org. Users are alreadydoing so.(cherry picked from commit29c04df)Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
1 parent1cd57b9 commitefba83f

File tree

3 files changed

+13
-7
lines changed

3 files changed

+13
-7
lines changed

‎Lib/idlelib/News3.txt‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@ Released after 2023-10-02
44
=========================
55

66

7+
gh-122482: Change About IDLE to direct users to discuss.python.org
8+
instead of the now unused idle-dev email and mailing list.
9+
710
gh-78889: Stop Shell freezes by blocking user access to non-method
811
sys.stdout.shell attributes, which are all private.
912

‎Lib/idlelib/help_about.py‎

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -85,15 +85,18 @@ def create_widgets(self):
8585
byline=Label(frame_background,text=byline_text,justify=LEFT,
8686
fg=self.fg,bg=self.bg)
8787
byline.grid(row=2,column=0,sticky=W,columnspan=3,padx=10,pady=5)
88-
email=Label(frame_background,text='email: idle-dev@python.org',
89-
justify=LEFT,fg=self.fg,bg=self.bg)
90-
email.grid(row=6,column=0,columnspan=2,sticky=W,padx=10,pady=0)
88+
89+
forums_url="https://discuss.python.org"
90+
forums=Label(frame_background,text="Python forums: "+forums_url,
91+
justify=LEFT,fg=self.fg,bg=self.bg)
92+
forums.grid(row=6,column=0,sticky=W,padx=10,pady=0)
93+
forums.bind("<Button-1>",lambdaevent:webbrowser.open(forums_url))
9194
docs_url= ("https://docs.python.org/%d.%d/library/idle.html"%
9295
sys.version_info[:2])
9396
docs=Label(frame_background,text=docs_url,
9497
justify=LEFT,fg=self.fg,bg=self.bg)
9598
docs.grid(row=7,column=0,columnspan=2,sticky=W,padx=10,pady=0)
96-
docs.bind("<Button-1>",lambdaevent:webbrowser.open(docs['text']))
99+
docs.bind("<Button-1>",lambdaevent:webbrowser.open(docs_url))
97100

98101
Frame(frame_background,borderwidth=1,relief=SUNKEN,
99102
height=2,bg=self.bg).grid(row=8,column=0,sticky=EW,
@@ -123,9 +126,7 @@ def create_widgets(self):
123126
height=2,bg=self.bg).grid(row=11,column=0,sticky=EW,
124127
columnspan=3,padx=5,pady=5)
125128

126-
idle=Label(frame_background,
127-
text='IDLE',
128-
fg=self.fg,bg=self.bg)
129+
idle=Label(frame_background,text='IDLE',fg=self.fg,bg=self.bg)
129130
idle.grid(row=12,column=0,sticky=W,padx=10,pady=0)
130131
idle_buttons=Frame(frame_background,bg=self.bg)
131132
idle_buttons.grid(row=13,column=0,columnspan=3,sticky=NSEW)
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
Change About IDLE to direct users to discuss.python.org instead of the now
2+
unused idle-dev email and mailing list.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp