uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

Ultra fast asyncio event loop.

Results 204 uvloop issues
Sort by recently updated
recently updated
newest added

### Bug Description Getting `AttributeError: type object 'async_generator_asend' has no attribute 'f_lineno'` exceptions when handling multipart form uploads in FastAPI with uvloop. ### Environment - **Python version**: 3.12.11 - **uvloop...

```python >>> import uvloop, asyncio >>> asyncio.get_event_loop() >>> uvloop.install() >>> asyncio.get_event_loop() Traceback (most recent call last): File "", line 1, in asyncio.get_event_loop() ~~~~~~~~~~~~~~~~~~~~~~^^ File "/usr/local/lib/python3.13/site-packages/uvloop/__init__.py", line 206, in get_event_loop raise...

I have selected ruff rules that seem to make most sense. My idea is to suggest switching from flake8 to ruff.

Requires setuptools ≥ 77.0.3 which requires Python 3.9, so this can wait until Python 3.8 support is dropped. Fixes #684 (partially).

https://setuptools.pypa.io/en/latest/userguide/quickstart.html#basic-use > Historically this documentation has unnecessarily listed `wheel` in the `requires` list, and many projects still do that. This is not recommended, as the backend no longer requires the...

Python's builtin asyncio Loop always returns a TimerHandle from call_later/call_at, however current uvloop will instead fall back to call_soon if delay==0. It seems desirable that uvloop be api-compatible. I'm sure...

Hi! Running uvloop under python 3.14, I get this warning. I think just changing https://github.com/MagicStack/uvloop/blob/74f4c96d3fc5281b1820491d2568de771ea7851b/uvloop/includes/stdlib.pxi#L40 this line should fix the issue ``` .venv/lib/python3.14/site-packages/aiofiles/base.py:69: in __await__ self._obj = yield from self._coro.__await__()...

```pytb $ pytest tests/test_tcp.py::Test_AIO_TCP::test_create_connection_open_con_addr -Wignore ========================================================= test session starts ========================================================= platform linux -- Python 3.13.9, pytest-8.4.2, pluggy-1.6.0 rootdir: /tmp/uvloop configfile: pyproject.toml collected 1 item tests/test_tcp.py F ============================================================== FAILURES =============================================================== __________________________________________...

As part of the [RISE Project](https://riseproject.dev/), we are adding builds of various Python modules for riscv64 platforms, including uvloop, in the [wheel_builder](https://gitlab.com/riseproject/python/wheel_builder) repository. While building v0.21.0, we noticed that the...

supports -Wextra flag... yes checking if gcc supports -Wno-long-long flag... yes checking if gcc supports -Wno-unused-parameter flag... yes checking if gcc supports -Wstrict-prototypes flag... yes checking for ar... no checking...