[Python-checkins] cpython (merge 3.4 -> default): Merge 3.4
victor.stinner
python-checkins at python.org
Tue Jun 10 10:27:26 CEST 2014
http://hg.python.org/cpython/rev/7982a7c89d66
changeset: 91116:7982a7c89d66
parent: 91114:a8dfdae4c4a0
parent: 91115:7912179335cc
user: Victor Stinner <victor.stinner at gmail.com>
date: Tue Jun 10 10:26:38 2014 +0200
summary:
Merge 3.4
files:
Doc/library/asyncio-eventloop.rst | 2 +-
Misc/NEWS | 4 ++++
2 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -123,7 +123,7 @@
Returns ``True`` if the event loop was closed.
- .. versionadded:: 3.5
+ .. versionadded:: 3.4.2
.. method:: BaseEventLoop.close()
diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -92,6 +92,10 @@
Library
-------
+- Issue #21326: Add a new is_closed() method to asyncio.BaseEventLoop.
+ run_forever() and run_until_complete() methods of asyncio.BaseEventLoop now
+ raise an exception if the event loop was closed.
+
- Issue #21310: Fixed possible resource leak in failed open().
- Issue #21256: Printout of keyword args should be in deterministic order in
--
Repository URL: http://hg.python.org/cpython
More information about the Python-checkins
mailing list