summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2014-06-10 10:26:38 +0200
committerVictor Stinner <victor.stinner@gmail.com>2014-06-10 10:26:38 +0200
commitf10642e8a9f4a1ac14aa17da8f1ddb8b7646c025 (patch)
tree46c0cf88c4b9938e6e9e9d7e91604b21a3415638
parent601f86207bc7533e6c7736fc2a4ce6b1517ec7e5 (diff)
parentbb2fc5b2a58993c80ee81f10fe463039520a4162 (diff)
downloadcpython-git-f10642e8a9f4a1ac14aa17da8f1ddb8b7646c025.tar.gz
Merge 3.4
-rw-r--r--Doc/library/asyncio-eventloop.rst2
-rw-r--r--Misc/NEWS4
2 files changed, 5 insertions, 1 deletions
diff --git a/Doc/library/asyncio-eventloop.rst b/Doc/library/asyncio-eventloop.rst
index 44b80c8d5f..7717b7a1c7 100644
--- a/Doc/library/asyncio-eventloop.rst
+++ b/Doc/library/asyncio-eventloop.rst
@@ -123,7 +123,7 @@ Run an event loop
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
index 28474bb626..96fe99e4c5 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -92,6 +92,10 @@ Core and Builtins
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