Async-timeout

Latest version: v4.0.3

Safety actively analyzes 630523 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 2 of 3

2.0.1

==================

* Fix ``PendingDeprecationWarning`` on Python 3.7 (33)

2.0.0

==================

* Changed ``timeout <= 0`` behaviour

* Backward incompatibility change, prior this version ``0`` was
shortcut for ``None``
* when timeout <= 0 ``TimeoutError`` raised faster

1.4.0

==================

* Implement ``remaining`` property (20)

* If timeout is not started yet or started unconstrained:
``remaining`` is ``None``
* If timeout is expired: ``remaining`` is ``0.0``
* All others: roughly amount of time before ``TimeoutError`` is triggered

1.3.0

==================

* Don't suppress nested exception on timeout. Exception context points
on cancelled line with suspended ``await`` (13)

* Introduce ``.timeout`` property (16)

* Add methods for using as async context manager (9)

1.2.1

==================

* Support unpublished event loop's "current_task" api.

1.2.0

==================

* Extra check on context manager exit

* 0 is no-op timeout

Page 2 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.