[issue39698] asyncio.sleep() does not adhere to time.sleep() behavior for negative numbers

Yury Selivanov report at bugs.python.org
Thu Feb 20 14:17:33 EST 2020


Yury Selivanov <yselivanov at gmail.com> added the comment:

> The ship has sailed, this change breaks a lot of existing code without a strong reason.

Yes.

It's a common thing to compute asyncio.sleep delay and sometimes it goes negative. The current behavior is part of our API now.

----------
resolution:  -> not a bug
stage:  -> resolved
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue39698>
_______________________________________


More information about the Python-bugs-list mailing list