From 582b17c2c5b876fe62cd22101540d907747069a9 Mon Sep 17 00:00:00 2001 From: Victor Stinner Date: Mon, 21 Sep 2015 22:28:44 +0200 Subject: Issue #23630: Fix test_asyncio on Windows The proactor event loop requires also to mock loop._stop_serving. --- Lib/test/test_asyncio/test_events.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Lib/test/test_asyncio/test_events.py b/Lib/test/test_asyncio/test_events.py index 3488101..9801d22 100644 --- a/Lib/test/test_asyncio/test_events.py +++ b/Lib/test/test_asyncio/test_events.py @@ -764,6 +764,7 @@ class EventLoopTestsMixin: for host in hosts] self.loop.getaddrinfo = getaddrinfo_task self.loop._start_serving = mock.Mock() + self.loop._stop_serving = mock.Mock() f = self.loop.create_server(lambda: MyProto(self.loop), hosts, 80) server = self.loop.run_until_complete(f) self.addCleanup(server.close) -- cgit v0.12 From d9763c2ce47bdda6f48072e7f06c302d74032469 Mon Sep 17 00:00:00 2001 From: Terry Jan Reedy Date: Mon, 21 Sep 2015 19:28:22 -0400 Subject: Issue #24861: add Idle news item and correct previous errors. --- Lib/idlelib/NEWS.txt | 7 +++++-- Misc/NEWS | 7 +++++-- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/Lib/idlelib/NEWS.txt b/Lib/idlelib/NEWS.txt index 95b9737..e1cabed 100644 --- a/Lib/idlelib/NEWS.txt +++ b/Lib/idlelib/NEWS.txt @@ -2,12 +2,15 @@ What's New in Idle 3.4.4? ========================= *Release date: 2015-??-??* +- Issue #24861: Most of idlelib is private and subject to change. + Use idleib.idle.* to start Idle. See idlelib.__init__.__doc__. + - Issue #25199: Idle: add synchronization comments for future maintainers. - Issue #16893: Replace help.txt with idle.html for Idle doc display. - The new idlelib/idle.html is copied from Doc/build/html/idle.html. + The new idlelib/idle.html is copied from Doc/build/html/library/idle.html. It looks better than help.txt and will better document Idle as released. - The tkinter html viewer that works for this file was written by Rose Roseman. + The tkinter html viewer that works for this file was written by Mark Roseman. The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated. - Issue #24199: Deprecate unused idlelib.idlever with possible removal in 3.6. diff --git a/Misc/NEWS b/Misc/NEWS index 69b66e9..20463a1 100644 --- a/Misc/NEWS +++ b/Misc/NEWS @@ -442,12 +442,15 @@ Library IDLE ---- +- Issue #24861: Most of idlelib is private and subject to change. + Use idleib.idle.* to start Idle. See idlelib.__init__.__doc__. + - Issue #25199: Idle: add synchronization comments for future maintainers. - Issue #16893: Replace help.txt with idle.html for Idle doc display. - The new idlelib/idle.html is copied from Doc/build/html/idle.html. + The new idlelib/idle.html is copied from Doc/build/html/library/idle.html. It looks better than help.txt and will better document Idle as released. - The tkinter html viewer that works for this file was written by Rose Roseman. + The tkinter html viewer that works for this file was written by Mark Roseman. The now unused EditorWindow.HelpDialog class and helt.txt file are deprecated. - Issue #24199: Deprecate unused idlelib.idlever with possible removal in 3.6. -- cgit v0.12