Async-timeout

Latest version: v5.0.1

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

Scan your dependencies

Page 1 of 3

5.0.1

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

Misc
----

- `423 <https://github.com/aio-libs/async-timeout/issues/423>`_

5.0.0

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

Features
--------

- Make ``asyncio_timeout`` fully compatible with the standard ``asyncio.Timeout`` but keep backward compatibility with existing ``asyncio_timeout.Timeout`` API. (`422 <https://github.com/aio-libs/async-timeout/issues/422>`_)


Improved Documentation
----------------------

- On the `CHANGES/README.rst <https://github.com/aio-libs/async-timeout/tree/master/CHANGES/README.rst>`_ page,
a link to the ``Towncrier philosophy`` has been fixed. (`388 <https://github.com/aio-libs/async-timeout/issues/388>`_)


Deprecations and Removals
-------------------------

- Drop deprecated sync context manager support, use ``async with timeout(...): ...`` instead. (`421 <https://github.com/aio-libs/async-timeout/issues/421>`_)

4.0.3

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

* Fixed compatibility with asyncio.timeout() on Python 3.11+.
* Added support for Python 3.11.
* Dropped support for Python 3.6.

4.0.2

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

Misc
----

- `259 <https://github.com/aio-libs/async-timeout/issues/259>`_, `#274 <https://github.com/aio-libs/async-timeout/issues/274>`_

4.0.1

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

- Fix regression:

1. Don't raise TimeoutError from timeout object that doesn't enter into async context
manager

2. Use call_soon() for raising TimeoutError if deadline is reached on entering into
async context manager

(258)

- Make ``Timeout`` class available in ``__all__``.

4.0.0

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

* Implemented ``timeout_at(deadline)`` (117)

* Supported ``timeout.deadline`` and ``timeout.expired`` properties.

* Dropped ``timeout.remaining`` property: it can be calculated as
``timeout.deadline - loop.time()``

* Dropped ``timeout.timeout`` property that returns a relative timeout based on the
timeout object creation time; the absolute ``timeout.deadline`` should be used
instead.

* Added the deadline modification methods: ``timeout.reject()``,
``timeout.shift(delay)``, ``timeout.update(deadline)``.

* Deprecated synchronous context manager usage

Page 1 of 3

© 2024 Safety CLI Cybersecurity Inc. All Rights Reserved.