NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI · #239 most downloaded on PyPI
Timeout context manager for asyncio programs
Last release 2 years ago
no release in 18 months
Release timing varies
gaps range from 9 days to 1.6 years
Nearly every release is documented
notes for 16 of 16 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
20 releases · first in 2016
Misc #423 <https://github.com/aio-libs/async-timeout/issues/423> _
#423 <https://github.com/aio-libs/async-timeout/issues/423>_#423 <https://github.com/aio-libs/async-timeout/issues/423>_Drop deprecated sync context manager support, use async with timeout(...): ... instead. (#421 _)
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>_)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>_)async with timeout(...): ... instead. (#421 <https://github.com/aio-libs/async-timeout/issues/421>_)One column per quarter.
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>_)CHANGES/README.rst <https://github.com/aio-libs/async-timeout/tree/master/CHANGES/README.rst>_ page,Towncrier philosophy has been fixed. (#388 <https://github.com/aio-libs/async-timeout/issues/388>_)async with timeout(...): ... instead. (#421 <https://github.com/aio-libs/async-timeout/issues/421>_)Fixed compatibility with asyncio.timeout() on Python 3.11+.
Misc #259 , #274
Don't raise TimeoutError from timeout object that doesn't enter into async context manager
Fix regression:
Don't raise TimeoutError from timeout object that doesn't enter into async context
manager
Use call_soon() for raising TimeoutError if deadline is reached on entering into
async context manager
(#258)
Make Timeout class available in __all__.
Fix regression:
Don't raise TimeoutError from timeout object that doesn't enter into async context manager
Use call_soon() for raising TimeoutError if deadline is reached on entering into async context manager
(#258)
Make Timeout class available in __all__.
Deprecated synchronous context manager usage
Implemented timeout_at(deadline) (#117)
Supported timeout.deadline and timeout.expired properties.
Drooped 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
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Changes ------------ - More aggressive typing
Drop Python 3.4, the minimal supported version is Python 3.5.3
Drop Python 3.4, the minimal supported version is Python 3.5.3
Provide type annotations
Fix PendingDeprecationWarning on Python 3.7
PendingDeprecationWarning on Python 3.7 (#33)Backward incompatibility change, prior this version 0 was shortcut for None
Changed timeout <= 0 behaviour
0 was
shortcut for NoneTimeoutError raised fasterIf timeout is not started yet or started unconstrained: remaining is None
Implement remaining property (#20)
remaining is Noneremaining is 0.0TimeoutError is triggeredDon't suppress nested exception on timeout. Exception context points on cancelled line with suspended await
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)
Support unpublished event loop's "current_task" api.
Extra check on context manager exit
Extra check on context manager exit
0 is no-op timeout
* Rename to async-timeout
Rename to async-timeout
* The first release.
The first release.
Your coding agent can read these notes before it upgrades. Set up the MCP server →