Closed
Description
asyncio.events.AbstractEventLoop
defines its call_*
methods via:
def call_soon(self, callback, *args):
return self.call_later(0, callback, *args)
def call_later(self, delay, callback, *args):
raise NotImplementedError
def call_at(self, when, callback, *args):
raise NotImplementedError
But futures.Future
(e.g.) expects call_soon
to have a context
parameter:
def __schedule_callbacks(self):
...
for callback, ctx in callbacks:
self._loop.call_soon(callback, self, context=ctx)
Seen in Python 3.9 through 3.11.
Metadata
Metadata
Assignees
Labels
Projects
Status
Done