8000 Segmentation fault with `asyncio.eager_task_factory` and `TestClient` (probably in AnyIO or asyncio) · encode starlette · Discussion #2890 · GitHub
[go: up one dir, main page]

Skip to content

Segmentation fault with asyncio.eager_task_factory and TestClient (probably in AnyIO or asyncio) #2890

Discussion options

tiangolo
Feb 27, 2025
Collaborator Sponsor

You must be logged in to vote

The segfault should be fixed in cpython 3.12.5+ python/cpython#122332 but programs won't work until they upgrade to anyio 4.8.0

I'd highly recommend avoiding eager tasks as they were added without updating the CPython test suite to run with them and so a number of features in asyncio broke and are only working in very recent bug fix releases.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@tiangolo
Comment options

tiangolo Feb 27, 2025
Collaborator Author Sponsor

@graingert
Comment options

Answer selected by Kludex
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants
0