Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trionics #241

Merged
merged 32 commits into from
Oct 27, 2021
Merged

Trionics #241

merged 32 commits into from
Oct 27, 2021

Commits on Oct 23, 2021

  1. Configuration menu
    Copy the full SHA
    340ddba View commit details
    Browse the repository at this point in the history
  2. Start trionics sub-pkg with async_enter_all()

    Since it seems we're building out more and more higher level primitives
    in order to support certain parallel style actor trees and messaging
    patterns (eg. task broadcast channels), we might as well start a new
    sub-package for purely `trio` constructions. We hereby dub this
    the realm of `trionics` (like electronics but for trios instead of
    electrons).
    
    To kick things off, add an `async_enter_all()` concurrent
    exit-stack-like context manager API which will concurrently spawn
    a sequence of provided async context managers and deliver their ordered
    results but with proper support for `trio` cancellation semantics.
    The stdlib's `AsyncExitStack` is not compatible with nurseries not
    `trio` tasks (which are cancelled) since as task will be suspended on
    the stack after push and does not ever hit a checkpoint until the stack
    is closed.
    goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    680a841 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    4114eb1 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    1e917fd View commit details
    Browse the repository at this point in the history
  5. Fix top level nursery import

    goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    79fb1d0 View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    97006c9 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    8ba1031 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9ddd757 View commit details
    Browse the repository at this point in the history
  9. Fix *args-like type annot

    goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c372367 View commit details
    Browse the repository at this point in the history
  10. Add 'trio.trionics' to setup.py

    overclockworked64 authored and goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    76767a3 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    7d502ce View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    21afc69 View commit details
    Browse the repository at this point in the history
  13. Configuration menu
    Copy the full SHA
    2815f1c View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    73cbb23 View commit details
    Browse the repository at this point in the history
  15. Make sure the ID is a str

    overclockworked64 authored and goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6e6baf2 View commit details
    Browse the repository at this point in the history
  16. Cancel nursery

    overclockworked64 authored and goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    6f9229c View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    3130a04 View commit details
    Browse the repository at this point in the history
  18. Add a clustering test

    overclockworked64 authored and goodboy committed Oct 23, 2021
    Configuration menu
    Copy the full SHA
    c1089db View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    b7a4641 View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    04895b9 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    87e3d32 View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    b91adcf View commit details
    Browse the repository at this point in the history
  23. Merge pull request #252 from goodboy/246_facepalm_backup

    Trionics improvements from @overclockworked64
    goodboy authored Oct 23, 2021
    Configuration menu
    Copy the full SHA
    71b8f9f View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    5040035 View commit details
    Browse the repository at this point in the history
  25. Merge pull request #253 from overclockworked64/fix-type-annotation

    Fix type annotations
    goodboy authored Oct 23, 2021
    Configuration menu
    Copy the full SHA
    ebf080b View commit details
    Browse the repository at this point in the history

Commits on Oct 24, 2021

  1. Change to gather_contexts(), use event for graceful exit

    The api we've made here is actually closer to `asyncio.gather()` but
    with opening async context managers instead of funcs. Use another event
    to allow for graceful teardown of children on non-cancellation exits
    and add a doc string.
    goodboy committed Oct 24, 2021
    Configuration menu
    Copy the full SHA
    d0f5c7a View commit details
    Browse the repository at this point in the history

Commits on Oct 25, 2021

  1. Merge pull request #254 from goodboy/graceful_gather

    Change to `gather_contexts()`, use event for graceful exit
    goodboy authored Oct 25, 2021
    Configuration menu
    Copy the full SHA
    925af28 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    083b73a View commit details
    Browse the repository at this point in the history
  3. Add a news fragment

    overclockworked64 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    c7f59bd View commit details
    Browse the repository at this point in the history
  4. Add a newline

    overclockworked64 committed Oct 25, 2021
    Configuration menu
    Copy the full SHA
    49dd230 View commit details
    Browse the repository at this point in the history

Commits on Oct 27, 2021

  1. Configuration menu
    Copy the full SHA
    6da7694 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #256 from overclockworked64/241-news-fragment

    Add a news fragment
    goodboy authored Oct 27, 2021
    Configuration menu
    Copy the full SHA
    9c13827 View commit details
    Browse the repository at this point in the history