Hacker GitHub

← All repos

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

Mentions per year 17 mentions · busiest year 2018 (4)
20082026
  1. …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
  2. …plug for structured concurrency (and specifically the Trio [1] library that the author wrote. [1] https://github.com/python-trio/trio
  3. …inspirations for developing Polyphony. [1] https://en.wikipedia.org/wiki/Structured_concurrency [2] https://github.com/python-trio/trio
  4. ▲ 11
    Trio: Structured Concurrency for Python
    story by pkkm · 2023-02-12 · 0 comments
  5. …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
  6. …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
  7. …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
  8. https://github.com/python-trio/trio AFAIK it's a very popular and active library still.
  9. …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
  10. ▲ 4
    Show HN: Trio – a friendly Python library for async concurrency and I/O
    story by okokok___ · 2020-12-19 · 0 comments
  11. …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)
  12. …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…
  13. …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…
  14. 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
  15. 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
  16. …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
  17. 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.