uvloop icon indicating copy to clipboard operation
uvloop copied to clipboard

Ultra fast asyncio event loop.

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

* **uvloop version**: 0.20.0 * **Python version**: 3.12.3 * **Platform**: Ubuntu 24 * **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**: yes * **Does uvloop behave differently from vanilla...

* **uvloop version**: 0.19.0 * **Python version**: 3.11.9 * **Platform**: MacOS 14.5 (Sonoma) mamba 1.5.8 conda 24.5.0 * **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**: Not yet *...

* **uvloop version**: * 0.19.0 (tested 0.17.0 to 0.19.0) * **Python version**: 3.12.4 * **Platform**: OSX Ventura 13.4/ Darwin 22.5.0 * **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**:...

Would be good to have an pre-build wheel of the uvloop python package for musl & glib on armv7. https://github.com/MagicStack/uvloop/blob/7bb12a174884b2ec8b3162a08564e5fb8a5c6b39/.github/workflows/release.yml#L86 There are still some scenarios for this, e.g. the millions...

* **uvloop version**: 0.20.0 * **Python version**: 3.12.5 * **Platform**: Ubuntu 22.04 * **Can you reproduce the bug with `PYTHONASYNCIODEBUG` in env?**: * **Does uvloop behave differently from vanilla asyncio?...

SSLWantReadError is expensive. https://github.com/python/cpython/issues/123954 This PR tries to predict that there will be SSLWantReadError by checking incoming.pending and SSLObject.pending() first. This check works in 99% of cases. For the rest...

From perf, callstack before the change: ``` --54.22%--__pyx_f_6uvloop_4loop___uv_stream_on_read | --52.82%--__pyx_f_6uvloop_4loop_run_in_context1 | --51.06%--cfunction_vectorcall_FASTCALL_KEYWORDS context_run | --50.49%--_PyObject_VectorcallTstate.lto_priv.18 | --50.28%--method_vectorcall | --49.45%--__pyx_pw_6picows_6picows_10WSProtocol_13data_received ``` After the change: ``` --51.71%--__pyx_f_6uvloop_4loop___uv_stream_on_read | --50.42%--__pyx_f_6uvloop_4loop_run_in_context1 | --49.13%--__pyx_pw_6picows_6picows_10WSProtocol_13data_received ```...

After profiling my app with perf I identified a couple of things that make SSLProtocol a little bit faster: * SSLProtocol.get_buffer and buffer_updated can be called directly from UVStream since...

Use `shlex.split()` to split the flags in `UVLOOP_OPT_FLAGS`, permitting the user to pass any number of flags rather than exactly one. This can be used e.g. to pass `-O2 -flto`.