v0.30.0
Full Changelog: v0.29.0...v0.30.0
Features
- Add
@trio.as_safe_channel, a wrapper that can be used to make async generators safe.
This will be the suggested fix for the flake8-async lint ruleASYNC900. (#3197)
Bugfixes
- Allow
trioto be atypes.ModuleTypeand still have deprecated attributes. (#2135) - Fixed socket module for some older systems which lack
socket.AI_NUMERICSERV.
Now trio works on legacy (pre-Lion) macOS. (#3133) - Update type hints for
trio.run_processandtrio.lowlevel.open_process. (#3183) - Don't mutate the global runner when MockClock is created. (#3205)
- Fix incorrect return type hint for
Nursery.start(). (#3224)
Improved documentation
- Update wording in documentation to more accurately reflect Trio's maturity. (#3216)