async-timeout icon indicating copy to clipboard operation
async-timeout copied to clipboard

asyncio-compatible timeout class

Results 23 async-timeout issues
Sort by recently updated
recently updated
newest added
trafficstars

updates: - [github.com/asottile/yesqa: v1.3.0 → v1.4.0](https://github.com/asottile/yesqa/compare/v1.3.0...v1.4.0) - [github.com/psf/black: 22.3.0 → 22.10.0](https://github.com/psf/black/compare/22.3.0...22.10.0) - [github.com/asottile/pyupgrade: v2.34.0 → v3.1.0](https://github.com/asottile/pyupgrade/compare/v2.34.0...v3.1.0) - [github.com/PyCQA/flake8: 4.0.1 → 5.0.4](https://github.com/PyCQA/flake8/compare/4.0.1...5.0.4)

## What do these changes do? Add the Timeout.signal() method, useful to cause any waiting task to immediately wake up. This is similar to rescheduling the timeout into the past,...

How about adding `msg` argument to `task.cancel()`? TL;DR: ```python def _on_timeout(self, task: "asyncio.Task[None]") -> None: task.cancel(msg="timeout") #

### Describe the bug There is a race condition in code that handles connection timeout. If you call `cancel` on a task that is currently pending in `create_connection` and connection...

## What do these changes do? You can use timeout as function decorator. ## Are there changes in behavior for the user? Users get additional API ## Related issue number...

```python @timeout(1.0) async def foo(): pass ```

Bumps [build](https://github.com/pypa/build) from 1.1.1 to 1.2.1. Release notes Sourced from build's releases. Version 1.2.1 What's Changed Avoid error when terminal width is undetectable on Python < 3.11 (PR #761) Full...

dependencies