Kludex
uvicorn
Blog
Docs
Changelog
Blog
Docs
Changelog
Overview
Branches
Benchmarks
Runs
Performance History
Latest Results
chore(deps): bump pygments from 2.19.2 to 2.20.0 Bumps [pygments](https://github.com/pygments/pygments) from 2.19.2 to 2.20.0. - [Release notes](https://github.com/pygments/pygments/releases) - [Changelog](https://github.com/pygments/pygments/blob/master/CHANGES) - [Commits](https://github.com/pygments/pygments/compare/2.19.2...2.20.0) --- updated-dependencies: - dependency-name: pygments dependency-version: 2.20.0 dependency-type: indirect ... Signed-off-by: dependabot[bot] <support@github.com>
dependabot/uv/pygments-2.20.0
9 hours ago
Use native `context` parameter for `create_task` on Python 3.11+ (#2859) ## Summary Both HTTP protocol implementations (`h11_impl.py` and `httptools_impl.py`) use `contextvars.Context().run(loop.create_task, ...)` to start ASGI tasks with a fresh context. Python 3.11 added a `context=` parameter to `create_task()`, which avoids the extra indirection through `Context.run()`. This has been a known TODO in the codebase for a while. Under high-concurrency workloads, the `Context().run()` wrapper adds a small but measurable overhead per request compared to the native kwarg, since it has to set up and tear down the context activation around the call. The change uses `sys.version_info` to branch at runtime — 3.11+ gets the native kwarg, older versions keep the existing behavior. Coverage pragmas follow the existing convention in `_types.py` (`py-lt-311` / `py-gte-311` on the branch lines). --------- Co-authored-by: Marcelo Trylesinski <marcelotryle@gmail.com>
main
3 days ago
Merge branch 'main' into fix/use-native-context-kwarg-3.11
hrv-dys:fix/use-native-context-kwarg-3.11
3 days ago
Update uvicorn/supervisors/watchfilesreload.py
hrv-dys:fix/use-native-context-kwarg-3.11
3 days ago
Drop cast in ASGI types (#2875)
main
3 days ago
Merge branch 'main' into drop-cast
drop-cast
3 days ago
Drop cast in ASGI types
drop-cast
3 days ago
Add websocket 500 fallback header test (#2874) ## Summary - extend the invalid websocket HTTP response regression test - assert the 500 fallback includes content-length and connection headers ## Testing - uv run pytest tests/protocols/test_websocket.py -k invalid_status -q
main
3 days ago
Latest Branches
CodSpeed Performance Gauge
0%
chore(deps): bump pygments from 2.19.2 to 2.20.0
#2877
9 hours ago
b7908c0
dependabot/uv/pygments-2.20.0
CodSpeed Performance Gauge
0%
Use native `context` parameter for `create_task` on Python 3.11+
#2859
3 days ago
8306520
hrv-dys:fix/use-native-context-kwarg-3.11
CodSpeed Performance Gauge
0%
Drop cast in ASGI types
#2875
3 days ago
6757fa8
drop-cast
© 2026 CodSpeed Technology
Home
Terms
Privacy
Docs