trio
trio copied to clipboard
Trio – a friendly Python library for async concurrency and I/O
This PR reuses the thread local object in `_threads.py` to stash the `raise_cancel` provided to abort, which basically implements a suggestion by @njsmith in https://github.com/python-trio/trio/issues/961#issuecomment-501597755: >Another idea: in `run_sync_in_thread`, start...
Closes #2388
Bumps [tomlkit](https://github.com/sdispater/tomlkit) from 0.11.1 to 0.11.2. Release notes Sourced from tomlkit's releases. 0.11.2 What's Changed Absolute URL for documentation in README by @mondeja in sdispater/tomlkit#210 Multiple code quality improvements by...
I guess I'm building a reputation for finding trio bugs by writing embarrassingly bad code! Raising an exception in `deliver` argument to `start_thread_soon` will cause the next usage of the...
https://github.com/python-trio/trio/blob/077e8fc3f1634b42ef5024814898439d8a8430d4/docs/source/reference-core.rst#L92-L95 Does this mean *exactly* one checkpoint after the last iteration, or *at least* one? I'm pretty sure it's the latter but that's not entirely obvious from reading, and adding...
Bumps [attrs](https://github.com/python-attrs/attrs) from 21.4.0 to 22.1.0. Release notes Sourced from attrs's releases. 22.1.0 Highlights The main features of this release are: The departure of Python 2.7 (enjoy your retirement!), and...
Bumps [types-pyopenssl](https://github.com/python/typeshed) from 22.0.9 to 22.0.10. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [ipython](https://github.com/ipython/ipython) from 7.31.1 to 7.34.0. Commits fcc71cc release 7.34.0 7637ad4 Merge pull request #13687 from meeseeksmachine/auto-backport-of-pr-13685-on-7.x 07a9b07 Backport PR #13685: what's new 7.34 6eb71d0 Merge pull request #13684 from...
This PR has two dependencies: - ~#2210 (required)~ - ~#2212 (recommended but not strictly necessary)~ (skipped) Closes #2211.
trio sometimes intentionally raises Unraisable exceptions while the system nursery is running - eg asyncgen finalization I think instead it should throw them into the system nursery and if it...