Skip to content

Commit 5e24c07

Browse files
graingerthroncok
authored andcommitted
deal with removed AbstractChildWatcher
1 parent 9e6c20a commit 5e24c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

uvloop/includes/stdlib.pxi

+1-1
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ cdef aio_isfuture = getattr(asyncio, 'isfuture', None)
4444
cdef aio_get_running_loop = getattr(asyncio, '_get_running_loop', None)
4545
cdef aio_set_running_loop = getattr(asyncio, '_set_running_loop', None)
4646
cdef aio_debug_wrapper = getattr(asyncio.coroutines, 'debug_wrapper', None)
47-
cdef aio_AbstractChildWatcher = asyncio.AbstractChildWatcher
47+
cdef aio_AbstractChildWatcher = getattr(asyncio, "AbstractChildWatcher", object())
4848
cdef aio_Transport = asyncio.Transport
4949
cdef aio_FlowControlMixin = asyncio.transports._FlowControlMixin
5050

0 commit comments

Comments
 (0)