Skip to content

Commit ada2d77

Browse files
authored
[3.11] gh-112953: Rename idlelib/NEWS.txt to News3.txt and update (GH… (#112992)
1 parent 70e50c0 commit ada2d77

File tree

3 files changed

+9
-4
lines changed

3 files changed

+9
-4
lines changed

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

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ Released after 2022-10-24
44
=========================
55

66

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+
712
gh-104719: Remove IDLE's modification of tokenize.tabsize and test
813
other uses of tokenize data and methods.
914

Lib/idlelib/help_about.py

+3-3
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

+1-1
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)