Skip to content

Commit 7d24eb8

Browse files
authored
[3.12] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH-112988) (#112990)
1 parent ac8adf9 commit 7d24eb8

File tree

3 files changed

+16
-5
lines changed

3 files changed

+16
-5
lines changed

Lib/idlelib/NEWS.txt renamed to Lib/idlelib/News3.txt

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,20 @@
1+
What's New in IDLE 3.12.z
2+
(since 3.12.0)
3+
Released after 2023-10-02
4+
=========================
5+
6+
7+
gh-112939: Fix processing unsaved files when quitting IDLE on macOS.
8+
Patch by Ronald Oussoren and Christopher Chavez.
9+
10+
gh-79871: Add docstrings to debugger.py. Fix two bugs in test_debugger and expand coverage by 47%. Patch by Anthony Shaw.
11+
12+
113
What's New in IDLE 3.12.0
214
(since 3.11.0)
315
Released on 2023-10-02
416
=========================
517

6-
718
gh-104719: Remove IDLE's modification of tokenize.tabsize and test
819
other uses of tokenize data and methods.
920

Lib/idlelib/help_about.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,11 +129,11 @@ def create_widgets(self):
129129
idle.grid(row=12, column=0, sticky=W, padx=10, pady=0)
130130
idle_buttons = Frame(frame_background, bg=self.bg)
131131
idle_buttons.grid(row=13, column=0, columnspan=3, sticky=NSEW)
132-
self.readme = Button(idle_buttons, text='README', width=8,
132+
self.readme = Button(idle_buttons, text='Readme', width=8,
133133
highlightbackground=self.bg,
134134
command=self.show_readme)
135135
self.readme.pack(side=LEFT, padx=10, pady=10)
136-
self.idle_news = Button(idle_buttons, text='NEWS', width=8,
136+
self.idle_news = Button(idle_buttons, text='News', width=8,
137137
highlightbackground=self.bg,
138138
command=self.show_idle_news)
139139
self.idle_news.pack(side=LEFT, padx=10, pady=10)
@@ -167,7 +167,7 @@ def show_readme(self):
167167

168168
def show_idle_news(self):
169169
"Handle News button event."
170-
self.display_file_text('About - NEWS', 'NEWS.txt', 'utf-8')
170+
self.display_file_text('About - News', 'News3.txt', 'utf-8')
171171

172172
def display_printer_text(self, title, printer):
173173
"""Create textview for built-in constants.

Lib/idlelib/idle_test/test_help_about.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def test_file_buttons(self):
7171
"""Test buttons that display files."""
7272
dialog = self.dialog
7373
button_sources = [(self.dialog.readme, 'README.txt', 'readme'),
74-
(self.dialog.idle_news, 'NEWS.txt', 'news'),
74+
(self.dialog.idle_news, 'News3.txt', 'news'),
7575
(self.dialog.idle_credits, 'CREDITS.txt', 'credits')]
7676

7777
for button, filename, name in button_sources:

0 commit comments

Comments
 (0)