python-trio/trio
View on GitHub ↗ ★ 7,360 Python
Trio – a friendly Python library for async concurrency and I/O
17 mentions on Hacker News by 15 people: 2 stories, 15 comments · first 2018-04-24 · latest 2026-04-03
20082026
-
…explicitly randomize startup order so that you won't accidentally write code that relies on it. [1] https://github.com/python-trio/trio/issues/32
comment by 12_throw_away · 2026-04-03 · in Async Python Is Secretly Deterministic -
…plug for structured concurrency (and specifically the Trio [1] library that the author wrote. [1] https://github.com/python-trio/trio
comment by heisenzombie · 2025-09-02 · in Python has had async for 10 years – why isn't it more popular? -
…inspirations for developing Polyphony. [1] https://en.wikipedia.org/wiki/Structured_concurrency [2] https://github.com/python-trio/trio
comment by ciconia · 2023-05-13 · in Polyphony: Fine-Grained Concurrency for Ruby -
▲ 11
Trio: Structured Concurrency for Pythonstory by pkkm · 2023-02-12 · 0 comments
-
…different way of writing multitasking code, which happens to make this class of bug impossible. [1] https://github.com/python-trio/trio [2] https://docs.python.org/3/library/asyncio-task.html#task-gro...
comment by nbadg · 2023-02-11 · in A Heisenbug lurking in async Python -
…for it though in Javascript. See Python's trio nurseries idea which uses a python context manager. https://github.com/python-trio/trio I'm working on a syntax for state machines and it could be used as a DSL for promises. It looks similar…
comment by samsquire · 2023-01-13 · in The gotcha of unhandled promise rejections -
…left silently uncaught. [1] https://docs.python.org/3/library/asyncio-task.html#task-gro... [2] https://github.com/python-trio/trio [3] https://anyio.readthedocs.io/en/latest/
comment by quietbritishjim · 2022-11-10 · in Python Asyncio -
https://github.com/python-trio/trio AFAIK it's a very popular and active library still.
comment by Redoubts · 2022-07-03 · in Notes on structured concurrency, or: Go statement considered harmful (2018) -
…core Python (e.g. exception groups) so everyone benefits even if they don't use Trio directly. [1] https://github.com/python-trio/trio/issues/52
comment by quietbritishjim · 2022-05-25 · in The domain for the Python Requests library is expired -
▲ 4
Show HN: Trio – a friendly Python library for async concurrency and I/Ostory by okokok___ · 2020-12-19 · 0 comments
-
…asyncio). It's pretty neat. [1] https://vorpus.org/blog/timeouts-and-cancellation-for-humans... [2] https://github.com/python-trio/trio [2]
comment by quietbritishjim · 2020-03-16 · in Timeouts and cancellation for humans (2018) -
…about its future. There were plans to use it for requests v3 until the fundraiser fiasco [5]. [0] https://github.com/python-trio/trio [1] https://vorpus.org/blog/announcing-trio/ [2] https://trio.readthedocs.io/en/stable/reference-core.html…
comment by hermod · 2019-11-14 · in Why Is the Migration to Python 3 Taking So Long? -
…a visualization of how it'd work. (The Trio team is also extremely friendly on their Gitter chat.) https://github.com/python-trio/trio Structured logging is yet another exciting area. Can we generate visualizations from logs in…
comment by j88439h84 · 2019-05-25 · in Show HN: Sourcetrail – Visual Source Explorer Now Supports Python -
I hope some of the (new?) concepts from trio find their way into the standard lib. trio: https://github.com/python-trio/trio trio compared to asyncio, goroutines, etc.: https://stackoverflow.com/a/49485603/1612318 "Notes on structured…
comment by Rotareti · 2018-08-20 · in Parallel Programming with Python -
I'm curious of your take on Trio or Curio. Do either address the peeves you've outlined? https://github.com/python-trio/trio https://github.com/dabeaz/curio
comment by windexh8er · 2018-08-08 · in The magic of asyncio explained -
…to fix it. Nathaniel J. Smith is creating trio, a much simpler, saner alternative to asyncio: https://github.com/python-trio/trio Yury Selivanov is fixing the stdlib, and experiments with better concepts on uvloop first to integrated them…
comment by sametmax · 2018-08-08 · in The magic of asyncio explained -
There are other implementations, such as Curio ( https://github.com/dabeaz/curio ) or Trio ( https://github.com/python-trio/trio ). Both are simpler and more hand-holdy (and less footgun) than asyncio. Disclaimer: I am a trio dev, though.
comment by Fukkaudeku · 2018-04-24 · in Show HN: HTTP/2 Python-Asyncio Web Microframework