Skip to content

Commit 97dd2dd

Browse files
committed
* TrioChildWatcher needs to descend from AbstractChildWatcher
unless on Windows of course
1 parent 0b6ed99 commit 97dd2dd

3 files changed

Lines changed: 9 additions & 2 deletions

File tree

debian/changelog

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
trio-asyncio (0.7.2-1) unstable; urgency=medium
2+
3+
* TrioChildWatcher needs to descend from AbstractChildWatcher
4+
(if not Windows)
5+
6+
-- Matthias Urlichs <matthias@urlichs.de> Tue, 03 Apr 2018 09:39:35 +0200
7+
18
trio-asyncio (0.7.1-1) unstable; urgency=medium
29

310
* Handle errors in async generators

trio_asyncio/_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
# This file is imported from __init__.py and exec'd from setup.py
22

3-
__version__ = "0.7.1"
3+
__version__ = "0.7.2"

trio_asyncio/loop.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ def set_child_watcher(self, watcher):
176176
super().set_child_watcher(watcher)
177177

178178

179-
class TrioChildWatcher: # (asyncio.AbstractChildWatcher):
179+
class TrioChildWatcher(asyncio.AbstractChildWatcher if sys.platform != 'win32' else object):
180180
# AbstractChildWatcher not available under Windows
181181
def __init__(self):
182182
super().__init__()

0 commit comments

Comments
 (0)