4.3.0
-
Added support for the Python 3.12
walk_up
keyword argument inanyio.Path.relative_to()
(PR by Colin Taylor) -
Fixed passing
total_tokens
toanyio.CapacityLimiter()
as a keyword argument not working on thetrio
backend (#515) -
Fixed
Process.aclose()
not performing the minimum level of necessary cleanup when cancelled. Previously:- Cancellation of
Process.aclose()
could leak an orphan process - Cancellation of
run_process()
could very briefly leak an orphan process. - Cancellation of
Process.aclose()
orrun_process()
on Trio could leave standard streams unclosed
(PR by Ganden Schaffner)
- Cancellation of
-
Fixed
Process.stdin.aclose()
,Process.stdout.aclose()
, andProcess.stderr.aclose()
not including a checkpoint on asyncio (PR by Ganden Schaffner) -
Fixed documentation on how to provide your own typed attributes