summaryrefslogtreecommitdiff
path: root/Lib/asyncio/unix_events.py
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2015-01-09 21:32:05 +0100
committerVictor Stinner <victor.stinner@gmail.com>2015-01-09 21:32:05 +0100
commit70db9e428aa476682ca80369d09a968b35729845 (patch)
tree8ae8f3ec699f537280445f089804feac93bd35ae /Lib/asyncio/unix_events.py
parent7eb10311be26e8f353530ed79476d4c859243401 (diff)
downloadcpython-git-70db9e428aa476682ca80369d09a968b35729845.tar.gz
asyncio: sync with Tulip
* Tulip issue 184: FlowControlMixin constructor now get the event loop if the loop parameter is not set. Add unit tests to ensure that constructor of StreamReader and StreamReaderProtocol classes get the event loop. * Remove outdated TODO/XXX
Diffstat (limited to 'Lib/asyncio/unix_events.py')
-rw-r--r--Lib/asyncio/unix_events.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/Lib/asyncio/unix_events.py b/Lib/asyncio/unix_events.py
index 91e43cfc97..1a4d418369 100644
--- a/Lib/asyncio/unix_events.py
+++ b/Lib/asyncio/unix_events.py
@@ -496,9 +496,6 @@ class _UnixWritePipeTransport(transports._FlowControlMixin,
def can_write_eof(self):
return True
- # TODO: Make the relationships between write_eof(), close(),
- # abort(), _fatal_error() and _close() more straightforward.
-
def write_eof(self):
if self._closing:
return
@@ -897,7 +894,7 @@ class FastChildWatcher(BaseChildWatcher):
class _UnixDefaultEventLoopPolicy(events.BaseDefaultEventLoopPolicy):
- """XXX"""
+ """UNIX event loop policy with a watcher for child processes."""
_loop_factory = _UnixSelectorEventLoop
def __init__(self):