File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Misc/NEWS.d/next/Documentation Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -304,6 +304,12 @@ clocks to track time.
304
304
custom :class: `contextvars.Context ` for the *callback * to run in.
305
305
The current context is used when no *context * is provided.
306
306
307
+ .. note ::
308
+
309
+ For performance, callbacks scheduled with :meth: `loop.call_later `
310
+ may run up to one clock-resolution early (see
311
+ ``time.get_clock_info('monotonic').resolution ``).
312
+
307
313
.. versionchanged :: 3.7
308
314
The *context * keyword-only parameter was added. See :pep: `567 `
309
315
for more details.
@@ -324,6 +330,12 @@ clocks to track time.
324
330
An instance of :class: `asyncio.TimerHandle ` is returned which can
325
331
be used to cancel the callback.
326
332
333
+ .. note ::
334
+
335
+ For performance, callbacks scheduled with :meth: `loop.call_at `
336
+ may run up to one clock-resolution early (see
337
+ ``time.get_clock_info('monotonic').resolution ``).
338
+
327
339
.. versionchanged :: 3.7
328
340
The *context * keyword-only parameter was added. See :pep: `567 `
329
341
for more details.
Original file line number Diff line number Diff line change
1
+ :meth: `asyncio.loop.call_at ` and :meth: `asyncio.loop.call_later ` now
2
+ correctly state that they may wake up early. Patch by Bar Harel.
You can’t perform that action at this time.
0 commit comments