Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

asyncio.call_later and call_at waking up early. #127859

Copy link
Copy link
Open
@bharel

Description

@bharel
Issue body actions

Bug report

Bug description:

In bharel/asynciolimiter#14 we encountered an issue where both of these methods are waking up earlier than told by the clock.
It happens with both (normal event loop need to confirm) and with uvloop. In our case we've built a rate limiter, which is having issues because call later is not calling later 🤦‍♂️.

Should we offer the guarantee at the specification level that the scheduling will occur after the specified time, much like time.sleep() where it says "at least secs"?

CPython versions tested on:

3.12, 3.13

Operating systems tested on:

Linux, Windows

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Status

    Todo
    Show more project fields

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.