You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+3-2Lines changed: 3 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -1,8 +1,9 @@
1
1
# Changelog
2
2
*[CalVer, YY.month.patch](https://calver.org/)*
3
3
4
-
## Future
5
-
- add TRIO112, nursery body with only a call to `nursery.start[_soon]` and not passing itself as a parameter can be replaced with a regular function call.
4
+
## 22.8.5
5
+
- Add TRIO111: Variable, from context manager opened inside nursery, passed to `start[_soon]` might be invalidly accesed while in use, due to context manager closing before the nursery. This is usually a bug, and nurseries should generally be the inner-most context manager.
6
+
- Add TRIO112: this single-task nursery could be replaced by awaiting the function call directly.
6
7
7
8
## 22.8.4
8
9
- Fix TRIO108 raising errors on yields in some sync code.
Copy file name to clipboardExpand all lines: README.md
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -33,4 +33,5 @@ pip install flake8-trio
33
33
Checkpoints are `await`, `async for`, and `async with` (on one of enter/exit).
34
34
-**TRIO109**: Async function definition with a `timeout` parameter - use `trio.[fail/move_on]_[after/at]` instead
35
35
-**TRIO110**: `while <condition>: await trio.sleep()` should be replaced by a `trio.Event`.
36
+
-**TRIO111**: Variable, from context manager opened inside nursery, passed to `start[_soon]` might be invalidly accesed while in use, due to context manager closing before the nursery. This is usually a bug, and nurseries should generally be the inner-most context manager.
36
37
-**TRIO112**: nursery body with only a call to `nursery.start[_soon]` and not passing itself as a parameter can be replaced with a regular function call.
0 commit comments