Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7918640

Browse files
graingerthroncok
authored andcommittedMar 12, 2025··
Deal with removed AbstractChildWatcher
Fixes #637
1 parent 9e6c20a commit 7918640

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)
Please sign in to comment.